Skip to content

DbContextLoaderOptions class

Contains different options for Korzh.EasyQuery.EntityFrameworkCore.DbContextLoader

public class Korzh.EasyQuery.EntityFrameworkCore.DbContextLoaderOptions
TypeNameDescription
IReadOnlyList<Func<IEntityType, Boolean>>FiltersThe Filtes
DbQueryFormatsFormats
BooleanHidePrimaryKeysGets or sets a value indicating whether we need to hide primary key fields in the data model.
TypeNameDescription
voidAddFilter(Func<IEntityType, Boolean> filter)Adds a filter, which will be used during model loading from Microsoft.EntityFrameworkCore.DbContext