edmxfilemodelloader-class
Represents a IModelLoader implementation which allows to load the model from an EDMX file Implements the Korzh.EasyQuery.Services.IModelLoader.
public class Korzh.EasyQuery.Services.EdmxFileModelLoader
: IModelLoader
Assembly: Korzh.EasyQuery.EntityFramework6.dll
Constructors
Name | Type | Description |
---|---|---|
EdmxFileModelLoader(string fileName, EdmxModelExtractorOptions options) | void | Initializes a new instance of the Korzh.EasyQuery.Services.EdmxFileModelLoader class. |
Methods
Name | Type | Description |
---|---|---|
LoadModelAsync(DataModel model, string modelId, CancellationToken ct = null) | Task <bool > | Loads the model from the EDMX file. NB: The model ID is not actually taking into account since the model is defined by a concrete EDMX file. |