This section describes the use of the Entity Framework (EF) data model in XAF.
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.v19.2.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.