Skip to content

DbContextModelExtractorOptions class

Contains different options for Korzh.EasyQuery.EntityFramework.DbContextModelExtractor

public class Korzh.EasyQuery.EntityFramework.DbContextModelExtractorOptions

Package: Korzh.EasyQuery.EntityFramework6 (targets: net461)

Assembly: Korzh.EasyQuery.EntityFramework6.dll

NameTypeDescription
DbContextModelExtractorOptions()void
NameTypeDescription
FiltersIReadOnlyList<Func<IEntityMap, bool>>The Filtes
HidePrimaryKeysboolGets or sets a value indicating whether we need to hide primary key fields in the data model.
SplitTablesOnMultiReferenceboolSplit one table on two (or more) if there are multi-references between two tables
SqlFormatsSqlFormatsGets or sets the SQL formats.
TablePerHierarchyboolIf true, add one table for each entity derived from one abstract type
NameTypeDescription
AddFilter(Func<IEntityMap, bool> filter)voidAdds a filter, which will be used during model loading from