2 instantiations of StateManagerTypeMetadata
System.Data.Entity (2)
System\Data\Objects\ObjectStateManager.cs (2)
3026
typeMetadata = new
StateManagerTypeMetadata
(edmType, mapping);
3050
StateManagerTypeMetadata typeMetadata = new
StateManagerTypeMetadata
(edmType, mapping);
71 references to StateManagerTypeMetadata
System.Data.Entity (71)
System\Data\Objects\DataClasses\EntityReference.cs (4)
478
StateManagerTypeMetadata
principalTypeMetadata = stateManager.GetOrAddStateManagerTypeMetadata(principalEntity.IdentityType, principalEntitySet);
481
StateManagerTypeMetadata
dependentTypeMetadata = stateManager.GetOrAddStateManagerTypeMetadata(dependentEntity.IdentityType, dependentEntitySet);
579
StateManagerTypeMetadata
dependentTypeMetadata = stateManager.GetOrAddStateManagerTypeMetadata(dependentEntity.IdentityType, dependentEntitySet);
661
StateManagerTypeMetadata
dependentTypeMetadata = stateManager.GetOrAddStateManagerTypeMetadata(WrappedOwner.IdentityType, dependentEntitySet);
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
611
StateManagerTypeMetadata
metaType = _context.ObjectStateManager.GetOrAddStateManagerTypeMetadata(member.DeclaringType);
System\Data\Objects\EntityEntry.cs (29)
24
private
StateManagerTypeMetadata
_cacheTypeMetadata;
60
StateManagerTypeMetadata
typeMetadata, EntityState state)
101
internal EntityEntry(EntityKey entityKey, EntitySet entitySet, ObjectStateManager cache,
StateManagerTypeMetadata
typeMetadata)
884
override internal DataRecordInfo GetDataRecordInfo(
StateManagerTypeMetadata
metadata, object userObject)
920
override internal Type GetFieldType(int ordinal,
StateManagerTypeMetadata
metadata)
927
override internal string GetCLayerName(int ordinal,
StateManagerTypeMetadata
metadata)
932
override internal int GetOrdinalforCLayerName(string name,
StateManagerTypeMetadata
metadata)
944
override internal int GetFieldCount(
StateManagerTypeMetadata
metadata)
1064
StateManagerTypeMetadata
typeMetadata;
1194
internal void SetOriginalEntityValue(
StateManagerTypeMetadata
metadata, int ordinal, object userObject, object newValue)
1258
StateManagerTypeMetadata
typeMetadata;
1298
internal object GetOriginalEntityValue(
StateManagerTypeMetadata
metadata, int ordinal, object userObject, ObjectStateValueRecord updatableRecord)
1304
internal object GetOriginalEntityValue(
StateManagerTypeMetadata
metadata, int ordinal, object userObject, ObjectStateValueRecord updatableRecord, int parentEntityPropertyIndex)
1318
internal object GetCurrentEntityValue(
StateManagerTypeMetadata
metadata, int ordinal, object userObject, ObjectStateValueRecord updatableRecord)
1324
internal object GetCurrentEntityValue(
StateManagerTypeMetadata
metadata, int ordinal, object userObject, ObjectStateValueRecord updatableRecord, int parentEntityPropertyIndex)
1448
StateManagerTypeMetadata
typeMetadata = _cache.GetOrAddStateManagerTypeMetadata(memberMetadata.CdmMetadata.TypeUsage.EdmType);
1531
out
StateManagerTypeMetadata
typeMetadata, out string changingMemberName, out object changingObject)
1574
StateManagerTypeMetadata
tmpTypeMetadata;
1679
StateManagerTypeMetadata
metadata = this._cacheTypeMetadata;
1733
StateManagerTypeMetadata
typeMetadata = _cache.GetOrAddStateManagerTypeMetadata(member.CdmMetadata.TypeUsage.EdmType);
1944
StateManagerTypeMetadata
metadata = _cache.GetOrAddStateManagerTypeMetadata(complexMember.CdmMetadata.TypeUsage.EdmType);
2057
StateManagerTypeMetadata
typeMetadata = _cache.GetOrAddStateManagerTypeMetadata(member.CdmMetadata.TypeUsage.EdmType);
2130
StateManagerTypeMetadata
metadata = this._cacheTypeMetadata;
2250
StateManagerTypeMetadata
metadata = this._cacheTypeMetadata;
2830
internal void PromoteKeyEntry(IEntityWrapper wrappedEntity, IExtendedDataRecord shadowValues,
StateManagerTypeMetadata
typeMetadata)
2948
StateManagerTypeMetadata
metadata = this._cacheTypeMetadata;
2983
internal void VerifyEntityValueIsEditable(
StateManagerTypeMetadata
typeMetadata, int ordinal, string memberName)
3007
internal void SetCurrentEntityValue(
StateManagerTypeMetadata
metadata, int ordinal, object userObject, object newValue)
3281
StateManagerTypeMetadata
typeMetadata = current._metadata;
System\Data\Objects\ObjectStateEntry.cs (5)
322
abstract internal int GetFieldCount(
StateManagerTypeMetadata
metadata);
324
abstract internal Type GetFieldType(int ordinal,
StateManagerTypeMetadata
metadata);
326
abstract internal string GetCLayerName(int ordinal,
StateManagerTypeMetadata
metadata);
328
abstract internal int GetOrdinalforCLayerName(string name,
StateManagerTypeMetadata
metadata);
342
abstract internal DataRecordInfo GetDataRecordInfo(
StateManagerTypeMetadata
metadata, object userObject);
System\Data\Objects\ObjectStateEntryBaseUpdatableDataRecord.cs (4)
25
internal readonly
StateManagerTypeMetadata
_metadata;
30
internal DbUpdatableDataRecord(ObjectStateEntry cacheEntry,
StateManagerTypeMetadata
metadata, object userObject)
573
internal CurrentValueRecord(ObjectStateEntry cacheEntry,
StateManagerTypeMetadata
metadata, object userObject) :
586
internal OriginalValueRecord(ObjectStateEntry cacheEntry,
StateManagerTypeMetadata
metadata, object userObject) :
System\Data\Objects\ObjectStateEntryDbDataRecord.cs (2)
22
private readonly
StateManagerTypeMetadata
_metadata;
27
internal ObjectStateEntryDbDataRecord(EntityEntry cacheEntry,
StateManagerTypeMetadata
metadata, object userObject)
System\Data\Objects\ObjectStateEntryDbUpdatableDataRecord.cs (1)
22
internal ObjectStateEntryDbUpdatableDataRecord(EntityEntry cacheEntry,
StateManagerTypeMetadata
metadata, object userObject)
System\Data\Objects\ObjectStateEntryOriginalDbUpdatableDataRecord.cs (2)
24
internal ObjectStateEntryOriginalDbUpdatableDataRecord_Internal(EntityEntry cacheEntry,
StateManagerTypeMetadata
metadata, object userObject)
64
internal ObjectStateEntryOriginalDbUpdatableDataRecord_Public(EntityEntry cacheEntry,
StateManagerTypeMetadata
metadata, object userObject, int parentEntityPropertyIndex)
System\Data\Objects\ObjectStateManager.cs (18)
50
private readonly Dictionary<EdmType,
StateManagerTypeMetadata
> _metadataStore;
51
private readonly Dictionary<EntitySetQualifiedType,
StateManagerTypeMetadata
> _metadataMapping;
139
_metadataStore = new Dictionary<EdmType,
StateManagerTypeMetadata
>();
140
_metadataMapping = new Dictionary<EntitySetQualifiedType,
StateManagerTypeMetadata
>(EntitySetQualifiedType.EqualityComparer);
290
StateManagerTypeMetadata
typeMetadata = GetOrAddStateManagerTypeMetadata(entitySet.ElementType);
341
StateManagerTypeMetadata
typeMetadata = GetOrAddStateManagerTypeMetadata(wrappedObject.IdentityType, entitySet);
648
StateManagerTypeMetadata
typeMetadata = GetOrAddStateManagerTypeMetadata(wrappedEntity.IdentityType, (EntitySet)keyEntry.EntitySet);
1418
StateManagerTypeMetadata
typeMetadata = GetOrAddStateManagerTypeMetadata(wrappedObject.IdentityType, entitySet);
1479
StateManagerTypeMetadata
typeMetadata = GetOrAddStateManagerTypeMetadata(wrappedEntity.IdentityType, entitySetForType);
2973
internal
StateManagerTypeMetadata
GetOrAddStateManagerTypeMetadata(Type entityType, EntitySet entitySet)
2978
StateManagerTypeMetadata
typeMetadata;
2993
internal
StateManagerTypeMetadata
GetOrAddStateManagerTypeMetadata(EdmType edmType)
3000
StateManagerTypeMetadata
typeMetadata;
3013
private
StateManagerTypeMetadata
AddStateManagerTypeMetadata(EntitySet entitySet, ObjectTypeMapping mapping)
3023
StateManagerTypeMetadata
typeMetadata;
3043
private
StateManagerTypeMetadata
AddStateManagerTypeMetadata(EdmType edmType, ObjectTypeMapping mapping)
3050
StateManagerTypeMetadata
typeMetadata = new StateManagerTypeMetadata(edmType, mapping);
3723
StateManagerTypeMetadata
typeMetadata = this.GetOrAddStateManagerTypeMetadata(EntityUtil.GetEntityIdentityType(entity.GetType()), entitySet);
System\Data\Objects\RelationshipEntry.cs (5)
273
override internal int GetFieldCount(
StateManagerTypeMetadata
metadata)
281
override internal DataRecordInfo GetDataRecordInfo(
StateManagerTypeMetadata
metadata, object userObject)
293
override internal Type GetFieldType(int ordinal,
StateManagerTypeMetadata
metadata)
300
override internal string GetCLayerName(int ordinal,
StateManagerTypeMetadata
metadata)
306
override internal int GetOrdinalforCLayerName(string name,
StateManagerTypeMetadata
metadata)