DbContextModelExtractorOptions class
Contains different options for Korzh.EasyQuery.EntityFramework.DbContextModelExtractor
public class Korzh.EasyQuery.EntityFramework.DbContextModelExtractorOptionsPackage: Korzh.EasyQuery.EntityFramework6 (targets: net461)
Assembly: Korzh.EasyQuery.EntityFramework6.dll
Constructors
Section titled “Constructors”| Name | Type | Description |
|---|---|---|
| DbContextModelExtractorOptions() | void |
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| Filters | IReadOnlyList<Func<IEntityMap, bool>> | The Filtes |
| 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 |
| SqlFormats | SqlFormats | Gets or sets the SQL formats. |
| TablePerHierarchy | bool | If true, add one table for each entity derived from one abstract type |
Methods
Section titled “Methods”| Name | Type | Description |
|---|---|---|
AddFilter(Func<IEntityMap, bool> filter) | void | Adds a filter, which will be used during model loading from |