Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Collapse]eXpressApp Framework
 [Expand]Fundamentals
 [Expand]Getting Started
 [Collapse]Concepts
  [Expand]Application Solution Components
  [Collapse]Business Model Design
    Business Model Design Basics
    Built-in Business Classes for Most Popular Scenarios
   [Collapse]Business Model Design with Entity Framework
     Use the Entity Framework Data Model
     Relationships Between Entities in Code and UI
     Model First Specifics
     Use Entity Framework with an Existing Database
   [Expand]Business Model Design with XPO
    Non-Persistent Objects
    PropertyChanged Event in Business Classes
   [Expand]Data Types Supported by built-in Editors
    Mapping Complex Types to the Database
   [Expand]Types Info Subsystem
    Connect an XAF Application to a Database Provider
    Data Annotations in Data Model
    Create and Update the Application's Database
  [Expand]Application Model
  [Expand]UI Construction
  [Expand]Extend Functionality
  [Expand]Data Manipulation and Business Logic
  [Expand]Security System
  [Expand]Localization
  [Expand]System Module
  [Expand]Extra Modules
  [Expand]Debugging and Error Handling
  [Expand]Filtering
  [Expand]Application Life Cycle
 [Expand]Design-Time Features
 [Expand]Functional Testing
 [Expand]Deployment
 [Expand]Task-Based Help
 [Expand]Frequently Asked Questions
 [Expand]API Reference
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
[Expand]End-User Documentation

Business Model Design with Entity Framework

This section describes the use of the Entity Framework (EF) data model in XAF.

Note

It is recommended that you first review the Business Model Design topic to learn when and why to choose EF as the data layer in your XAF application.

To learn how to install EF, refer to the Get Entity Framework topic. Entity Framework support in XAF is provided by the DevExpress.ExpressApp.EF.v17.1.dll assembly. The supported version of EF is 6.1.3. Higher versions are currently untested and may cause errors. To install version 6.1.3, run the following command in the Package Manager Console: "PM> Install-Package EntityFramework -Version 6.1.3". If you use the Solution Wizard to create a EF-based XAF solution, then EF is installed automatically by the wizard.

Expanded Concepts

Expanded Task-Based Help

Expanded MSDN Tutorials

Expanded See Also

How would you rate this topic?​​​​​​​