4 overrides of ClrType
System.Data.Entity (4)
System\Data\Metadata\Edm\ComplexType.cs (1)
141
internal override System.Type
ClrType
System\Data\Metadata\Edm\EntityType.cs (1)
272
internal override System.Type
ClrType
System\Data\Metadata\Edm\EnumType.cs (1)
207
internal override System.Type
ClrType
System\Data\Metadata\Edm\PrimitiveType.cs (1)
90
internal override System.Type
ClrType
43 references to ClrType
System.Data.Entity (43)
System\Data\Common\DataRecord.cs (1)
318
return edmMemberType.
ClrType
?? typeof(System.Object);
System\Data\Common\Internal\Materialization\Translator.cs (3)
351
result = LookupObjectMapping(edmType).ClrType.
ClrType
;
379
result = LookupObjectMapping(edmType).ClrType.
ClrType
;
1310
Type clrType = oSpaceType.
ClrType
;
System\Data\Common\Utils\MetadataHelper.cs (1)
907
Debug.Assert(sourceEntityType.DataSpace == DataSpace.OSpace && sourceEntityType.
ClrType
!= null, "sourceEntityType must contain an ospace type");
System\Data\Metadata\Edm\Facet.cs (4)
90
if (value != null && !Helper.IsUnboundedFacetValue(result) && !Helper.IsVariableFacetValue(result) && result.FacetType.
ClrType
!= null)
94
valueType == result.FacetType.
ClrType
95
|| result.FacetType.
ClrType
.IsAssignableFrom(valueType),
96
string.Format(CultureInfo.CurrentCulture, "The facet {0} has type {1}, but a value of type {2} was supplied.", result.Name, result.FacetType.
ClrType
, valueType)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (2)
478
MethodInfo createRelatedEndMethod = genericCreateRelatedEndMethod.MakeGenericMethod(sourceEntityType.
ClrType
, targetEntityType.
ClrType
);
System\Data\Metadata\ObjectItemCollection.cs (1)
537
clrType = objectSpaceType.
ClrType
;
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (9)
92
if (edmType.
ClrType
!= clrType)
95
clrType.AssemblyQualifiedName, edmType.
ClrType
.AssemblyQualifiedName), edmType));
455
PropertyInfo[] properties = structuralType.
ClrType
.GetProperties(PropertyReflectionBindingFlags);
482
newMember = LoadScalarProperty(structuralType.
ClrType
, property, out isEntityKeyProperty);
581
((RefType)navigationProperty.FromEndMember.TypeUsage.EdmType).ElementType.
ClrType
!= declaringType.
ClrType
)
588
((RefType)navigationProperty.FromEndMember.TypeUsage.EdmType).ElementType.
ClrType
), navigationProperty));
681
declaringType.
ClrType
.TypeHandle);
709
clrProperty, type.
ClrType
.TypeHandle);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
65
new EdmItemError(Strings.Validator_OSpace_Convention_AmbiguousClrType(cspaceType.Name, previousOSpaceType.
ClrType
.FullName, type.FullName), previousOSpaceType));
System\Data\Objects\DataClasses\RelationshipManager.cs (4)
493
Debug.Assert(sourceEntityType.DataSpace == DataSpace.OSpace && sourceEntityType.
ClrType
!= null, "sourceEntityType must contain an ospace type");
494
Type sourceType = sourceEntityType.
ClrType
;
784
if (referenceType != null && referenceType.ElementType.
ClrType
.IsAssignableFrom(entityClrType))
791
if (referenceType != null && referenceType.ElementType.
ClrType
.IsAssignableFrom(entityClrType))
System\Data\Objects\FieldDescriptor.cs (2)
63
result = edmType.
ClrType
;
78
result = edmType.
ClrType
;
System\Data\Objects\Internal\EntityProxyFactory.cs (10)
65
Assembly assembly = ospaceEntityType.
ClrType
.Assembly;
566
TypeAttributes access = ospaceEntityType.
ClrType
.Attributes & TypeAttributes.VisibilityMask;
568
ConstructorInfo ctor = ospaceEntityType.
ClrType
.GetConstructor(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, Type.EmptyTypes, null);
574
ospaceEntityType.
ClrType
.IsSealed ||
575
typeof(IEntityWithRelationships).IsAssignableFrom(ospaceEntityType.
ClrType
) ||
845
PropertyInfo clrProperty = EntityUtil.GetTopProperty(ospaceEntityType.
ClrType
, member.Name);
1068
Type baseType = ospaceEntityType.
ClrType
;
1087
PropertyInfo clrProperty = EntityUtil.GetTopProperty(ospaceEntityType.
ClrType
, member.Name);
1525
_baseClrType = ospaceEntityType.
ClrType
;
1564
_baseClrType = ospaceEntityType.
ClrType
;
System\Data\Objects\Internal\LazyLoadBehavior.cs (1)
126
PropertyInfo propertyInfo = EntityUtil.GetTopProperty(ospaceEntityType.
ClrType
, member.Name);
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (1)
107
return mapping.ClrType.
ClrType
;
System\Data\Objects\ObjectStateManager.cs (1)
3031
EntitySetQualifiedType entitySetQualifiedType = new EntitySetQualifiedType(mapping.ClrType.
ClrType
, entitySet);
System\Data\Objects\ObjectStateManagerMetadata.cs (1)
83
return _clrProperty.TypeUsage.EdmType.
ClrType
;
System\Data\Objects\ObjectViewFactory.cs (1)
347
clrType = ospaceEdmType.
ClrType
;