Skip to main content

entitytypemodelloader-t--class

An implementation of Korzh.EasyQuery.Services.IModelLoader which loads the model from some type.

public class Korzh.EasyQuery.Services.EntityTypeModelLoader<T>
: IModelLoader

Assembly: Korzh.EasyQuery.Linq.dll

Constructors

NameTypeDescription
EntityTypeModelLoader()voidInitializes a new instance of the Korzh.EasyQuery.Services.EntityTypeModelLoader`1 class.
EntityTypeModelLoader(EntityTypeModelLoaderOptions options)voidInitializes a new instance of the Korzh.EasyQuery.Services.EntityTypeModelLoader`1 class.

Methods

NameTypeDescription
LoadModelAsync(DataModel model, string modelId, CancellationToken ct = null)Task<bool>Loads the model