Skip to content

EdmxModelExtractorOptions class

Contains different options

public class Korzh.EasyQuery.EntityFramework.EdmxModelExtractorOptions

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

Assembly: Korzh.EasyQuery.EntityFramework6.dll

NameTypeDescription
EdmxModelExtractorOptions()void
NameTypeDescription
EntityFiltersIReadOnlyList<Func<string, bool>>Gets the entity filters.
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
NameTypeDescription
AddEntityFilter(Func<string, bool> filter)voidAdds an edntity filter, which will be used on EDMX loading. Each filter is a function that takes an entity name and returns true if this entity should be processed and false - otherwise