edmxmodelextractoroptions-class
Contains different options
public class Korzh.EasyQuery.EntityFramework.EdmxModelExtractorOptions
Assembly: Korzh.EasyQuery.EntityFramework6.dll
Constructors
Name | Type | Description |
---|---|---|
EdmxModelExtractorOptions() | void |
Properties
Name | Type | Description |
---|---|---|
EntityFilters | IReadOnlyList <Func <string , bool >> | Gets the entity filters. |
HidePrimaryKeys | bool | Gets or sets a value indicating whether we need to hide primary key fields in the data model. |
SplitTablesOnMultiReference | bool | Split one table on two (or more) if there are multi-references between two tables |
Methods
Name | Type | Description |
---|---|---|
AddEntityFilter(Func <string , bool > filter) | void | Adds an edntity filter, which will be used on EDMX loading. Each filter is a function that takes an entity name and returns |