DbContextModelLoader<T> class

Represents a IModelLoader implementation which allows to load the model from a DbContext object. Implements the Korzh.EasyQuery.Services.IModelLoader

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

Methods

Type Name Description
Task<Boolean> LoadModelAsync(DataModel model, String modelId) Loads the model from the DbContext object that we get from the DI container. NB: The model ID is not actually taking into account since the model is defined by a concrete DbContext type.
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.
Powered by AiSTANT