Skip to main content

edmxmodelextractoroptions-class

Contains different options

public class Korzh.EasyQuery.EntityFramework.EdmxModelExtractorOptions

Assembly: Korzh.EasyQuery.EntityFramework6.dll

Constructors

NameTypeDescription
EdmxModelExtractorOptions()void

Properties

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

Methods

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