3 writes to _cacheTypeMetadata
System.Data.Entity (3)
System\Data\Objects\EntityEntry.cs (3)
70
_cacheTypeMetadata
= typeMetadata;
111
_cacheTypeMetadata
= typeMetadata;
2841
_cacheTypeMetadata
= typeMetadata;
34 references to _cacheTypeMetadata
System.Data.Entity (34)
System\Data\Objects\EntityEntry.cs (34)
92
_cacheTypeMetadata
.Members.Any(m => m.IsComplex)));
163
if (dependentType.IsAssignableFrom(
_cacheTypeMetadata
.DataRecordInfo.RecordType.EdmType))
180
if (dependentType.IsAssignableFrom(
_cacheTypeMetadata
.DataRecordInfo.RecordType.EdmType))
198
yield return (GetCLayerName(i,
_cacheTypeMetadata
));
229
_modifiedFields = new BitArray(GetFieldCount(
_cacheTypeMetadata
));
247
int ordinal =
_cacheTypeMetadata
.GetOrdinalforOLayerMemberName(propertyName);
293
var originalValue = GetOriginalEntityValue(
_cacheTypeMetadata
, ordinal, _wrappedEntity.Entity, ObjectStateValueRecord.OriginalReadonly);
294
SetCurrentEntityValue(
_cacheTypeMetadata
, ordinal, _wrappedEntity.Entity, originalValue);
351
return new ObjectStateEntryDbDataRecord(this,
_cacheTypeMetadata
, _wrappedEntity.Entity);
355
return new ObjectStateEntryOriginalDbUpdatableDataRecord_Public(this,
_cacheTypeMetadata
, _wrappedEntity.Entity, s_EntityRoot);
403
return new ObjectStateEntryDbUpdatableDataRecord(this,
_cacheTypeMetadata
, _wrappedEntity.Entity);
969
_modifiedFields = new BitArray(GetFieldCount(
_cacheTypeMetadata
));
1190
int ordinal =
_cacheTypeMetadata
.GetOrdinalforOLayerMemberName(memberName);
1191
SetCurrentEntityValue(
_cacheTypeMetadata
, ordinal, _wrappedEntity.Entity, newValue);
1294
int ordinal =
_cacheTypeMetadata
.GetOrdinalforOLayerMemberName(memberName);
1295
return GetOriginalEntityValue(
_cacheTypeMetadata
, ordinal, _wrappedEntity.Entity, ObjectStateValueRecord.OriginalReadonly);
1542
int changingOrdinal =
_cacheTypeMetadata
.GetOrdinalforOLayerMemberName(entityMemberName);
1582
if (!
_cacheTypeMetadata
.Member(changingOrdinal).IsComplex)
1599
tmpTypeMetadata =
_cacheTypeMetadata
;
1647
return new ObjectStateEntryOriginalDbUpdatableDataRecord_Internal(this,
_cacheTypeMetadata
, _wrappedEntity.Entity);
1679
StateManagerTypeMetadata metadata = this.
_cacheTypeMetadata
;
1820
StateManagerMemberMetadata member =
_cacheTypeMetadata
.Member(ordinal);
1909
int fieldCount = GetFieldCount(
_cacheTypeMetadata
);
2130
StateManagerTypeMetadata metadata = this.
_cacheTypeMetadata
;
2250
StateManagerTypeMetadata metadata = this.
_cacheTypeMetadata
;
2918
Debug.Assert(
_cacheTypeMetadata
!= null);
2919
Debug.Assert(
_cacheTypeMetadata
.DataRecordInfo != null);
2920
Debug.Assert(
_cacheTypeMetadata
.DataRecordInfo.RecordType != null);
2922
EntityType entityType =
_cacheTypeMetadata
.DataRecordInfo.RecordType.EdmType as EntityType;
2948
StateManagerTypeMetadata metadata = this.
_cacheTypeMetadata
;
2975
int ordinal =
_cacheTypeMetadata
.GetOrdinalforOLayerMemberName(memberName);
2976
return GetCurrentEntityValue(
_cacheTypeMetadata
, ordinal, _wrappedEntity.Entity, ObjectStateValueRecord.CurrentUpdatable);
3765
int dependentOrdinal = dependentEntry.
_cacheTypeMetadata
.GetOrdinalforOLayerMemberName(dependentProp.Name);
3766
StateManagerMemberMetadata member = dependentEntry.
_cacheTypeMetadata
.Member(dependentOrdinal);