Skip to content

DbContextLoaderOptions class

Contains different options for Korzh.EasyQuery.EntityFrameworkCore.DbContextLoader

public class Korzh.EasyQuery.EntityFrameworkCore.DbContextLoaderOptions

Properties

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.

Methods

TypeNameDescription
voidAddFilter(Func<IEntityType, Boolean> filter)Adds a filter, which will be used during model loading from Microsoft.EntityFrameworkCore.DbContext