25 references to RecordType
System.Data.Entity (25)
System\Data\Common\DataRecord.cs (1)
475
_propertyDescriptors = CreatePropertyDescriptorCollection(this.DataRecordInfo.
RecordType
.EdmType as StructuralType,
System\Data\Common\EntityRecordInfo.cs (3)
98
if (!object.ReferenceEquals(
RecordType
.EdmType, null) &&
101
!object.ReferenceEquals(
RecordType
.EdmType, entitySet.ElementType) &&
102
!entitySet.ElementType.IsBaseTypeOf(
RecordType
.EdmType))
System\Data\EntityKey.cs (1)
945
EntityType entityType = record.DataRecordInfo.
RecordType
.EdmType as EntityType;
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (1)
303
StructuralType structuralType = (StructuralType)record.DataRecordInfo.
RecordType
.EdmType;
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (3)
125
Debug.Assert(BuiltInTypeKind.EntityType == extendedRecord.DataRecordInfo.
RecordType
.EdmType.BuiltInTypeKind);
126
return (EntityType)extendedRecord.DataRecordInfo.
RecordType
.EdmType;
141
Debug.Assert(associationSet.ElementType.Equals(record.DataRecordInfo.
RecordType
.EdmType));
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (2)
232
if (dependentType.IsAssignableFrom(record.DataRecordInfo.
RecordType
.EdmType))
1027
(null == recordInfo.
RecordType
))
System\Data\Objects\EntityEntry.cs (4)
163
if (dependentType.IsAssignableFrom(_cacheTypeMetadata.DataRecordInfo.
RecordType
.EdmType))
180
if (dependentType.IsAssignableFrom(_cacheTypeMetadata.DataRecordInfo.
RecordType
.EdmType))
2920
Debug.Assert(_cacheTypeMetadata.DataRecordInfo.
RecordType
!= null);
2922
EntityType entityType = _cacheTypeMetadata.DataRecordInfo.
RecordType
.EdmType as EntityType;
System\Data\Objects\Internal\ComplexTypeMaterializer.cs (9)
36
Debug.Assert(null != recordInfo.
RecordType
, "null TypeUsage");
37
Debug.Assert(null != recordInfo.
RecordType
.EdmType, "null EdmType");
39
Debug.Assert(Helper.IsEntityType(recordInfo.
RecordType
.EdmType) ||
40
Helper.IsComplexType(recordInfo.
RecordType
.EdmType),
98
Debug.Assert(null != recordInfo.
RecordType
, "null TypeUsage");
111
if (plans[index].Key == recordInfo.
RecordType
)
121
ObjectTypeMapping mapping = System.Data.Common.Internal.Materialization.Util.GetObjectMapping(recordInfo.
RecordType
.EdmType, _workspace);
124
Debug.Assert(Helper.IsComplexType(recordInfo.
RecordType
.EdmType),
128
plans[index] = new Plan(recordInfo.
RecordType
, mapping, recordInfo.FieldMetadata);
System\Data\Query\ResultAssembly\BridgeDataRecord.cs (1)
334
result = recordState.DataRecordInfo.
RecordType
;