FileModelLoader class
Represents a IModelLoader implemenation which allows to load data model definitions (either XML or JSON) from the file system. Implements the Korzh.EasyQuery.Services.IModelLoader
public class Korzh.EasyQuery.Services.FileModelLoader : IModelLoaderPackage: Korzh.EasyQuery (targets: netstandard2.0)
Assembly: Korzh.EasyQuery.dll
Constructors
Section titled “Constructors”| Name | Type | Description |
|---|---|---|
FileModelLoader(string dataPath) | void | Initializes a new instance of the Korzh.EasyQuery.Services.FileModelLoader class. |
FileModelLoader(IOptions<FileModelLoaderSettings> options) | void | Initializes a new instance of the Korzh.EasyQuery.Services.FileModelLoader class. |
Methods
Section titled “Methods”| Name | Type | Description |
|---|---|---|
LoadModelAsync(DataModel model, string modelId) | Task<bool> | Loads the model by its ID. |