Свойство | Type | Description | |
---|---|---|---|
MetadataWorkspace | MetadataWorkspace | ||
_entityMaps | EntityMap>.Dictionary |
Méthode | Description | |
---|---|---|
BindForeignKeys ( ) : void |
|
|
MapEntity ( string typeFullName, System.Data.Entity.Core.Metadata.Edm.EdmType edmItem ) : EntityMap |
|
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 |
||
Résultat | TphData>.Dictionary |
protected GetTypeMappingsEf6 ( ) : EntityType>.Dictionary |
||
Résultat | 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 | |
Résultat | 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 |
Résultat | 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 | |
Résultat | PrepareMappingRes |
protected MetadataWorkspace MetadataWorkspace | ||
Résultat | MetadataWorkspace |