Свойство | Тип | Описание | |
---|---|---|---|
MetadataWorkspace | MetadataWorkspace | ||
_entityMaps | EntityMap>.Dictionary |
Метод | Описание | |
---|---|---|
BindForeignKeys ( ) : void |
|
|
MapEntity ( string typeFullName, System.Data.Entity.Core.Metadata.Edm.EdmType edmItem ) : EntityMap |
|
Метод | Описание | |
---|---|---|
GetTphData ( ) : TphData>.Dictionary |
||
GetTypeMappingsEf6 ( ) : EntityType>.Dictionary |
Type name and Edm.EntityType map for EF6+ Key is type full name (Also OSpace item fullname and OCSpace identity) Value is EntityType from CSpace
|
|
MapperBase ( MetadataWorkspace metadataWorkspace, System.Data.Entity.Core.Metadata.Edm.EntityContainer entityContainer ) : System |
|
|
PrepareMapping ( string typeFullName, System.Data.Entity.Core.Metadata.Edm.EdmType edmitem ) : PrepareMappingRes |
Метод | Описание | |
---|---|---|
ActuallyAddAProperty ( EntityMap entityMap, System.Data.Entity.Core.Metadata.Edm.EdmProperty edmProperty, string propName, string columnName, System.Data.Entity.Core.Metadata.Edm.EdmMember edmMember ) : void | ||
GetPropertiesToMap ( EntityMap entityMap, IEnumerable |
Gets properties that are ment for given type. TPH columns are ordered by hierarchy and type name. First columns are from base class. Derived types, which name starts with 'A', columns are before type, which name starts with 'B' etc. So the logic is to include all properties inherited from base types and exclude all already bound properties from siblings.
|
|
RegEntity ( string typeFullName, string tableName, string schema ) : EntityMap |
|
|
TryGetRefObjectType ( string typeFullName ) : |
|
protected GetTphData ( ) : TphData>.Dictionary |
||
Результат | TphData>.Dictionary |
protected GetTypeMappingsEf6 ( ) : EntityType>.Dictionary |
||
Результат | EntityType>.Dictionary |
public MapEntity ( string typeFullName, System.Data.Entity.Core.Metadata.Edm.EdmType edmItem ) : EntityMap | ||
typeFullName | string | |
edmItem | System.Data.Entity.Core.Metadata.Edm.EdmType | |
Результат | EntityMap |
protected MapperBase ( MetadataWorkspace metadataWorkspace, System.Data.Entity.Core.Metadata.Edm.EntityContainer entityContainer ) : System | ||
metadataWorkspace | MetadataWorkspace | |
entityContainer | System.Data.Entity.Core.Metadata.Edm.EntityContainer | Code first or DB first entityContainer |
Результат | System |
protected abstract PrepareMapping ( string typeFullName, System.Data.Entity.Core.Metadata.Edm.EdmType edmitem ) : PrepareMappingRes | ||
typeFullName | string | |
edmitem | System.Data.Entity.Core.Metadata.Edm.EdmType | |
Результат | PrepareMappingRes |
protected MetadataWorkspace MetadataWorkspace | ||
Результат | MetadataWorkspace |