EFDataSource Class
An Entity Framework data source.
Namespace: DevExpress.DataAccess.EntityFramework
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
[ToolboxBitmap(typeof(EFDataSource), "EFDataSource.bmp")]
public class EFDataSource :
DataComponentBase,
IListSource,
IListAdapter2,
IListAdapter,
ISupportInitialize,
ITypedList,
IDynamicLookupSettingsDataProvider,
IDataConnectionParametersService
#Related API Members
The following members return EFDataSource objects:
#Remarks
EFDataSource supports the following Entity Framework versions:
- Entity Framework 5.0 and higher.
- Entity Framework Core 1.0 and higher.
Note that the Entity Framework context class passed to an EFConnectionParameters.Source should be public.
Note
To connect to different database types using EFData