An implementation of Korzh.EasyQuery.Services.IModelLoader which loads the model from some type.
public class Korzh.EasyQuery.Services.EntityTypeModelLoader<T>
: IModelLoader
Package: Korzh.EasyQuery.Linq
(targets: netstandard2.0
)
Assembly: Korzh.EasyQuery.Linq.dll
Constructors
| Name | Type | Description |
| --- | --- | --- |
| EntityTypeModelLoader() | void
| Initializes a new instance of the Korzh.EasyQuery.Services.EntityTypeModelLoader1](api-reference/korzh-easyquery-linq/korzh-easyquery-services-namespace/entitytypemodelloader-t--class) class. | | EntityTypeModelLoader([EntityTypeModelLoaderOptions](api-reference/korzh-easyquery-linq/korzh-easyquery-services-namespace/entitytypemodelloaderoptions-class) options) |
void| Initializes a new instance of the [Korzh.EasyQuery.Services.EntityTypeModelLoader
1 class. |
Methods
Name | Type | Description |
---|---|---|
LoadModelAsync(DataModel model, string modelId) |
Task <bool > |
Loads the model |