31 references to ClrEquivalentType
System.Data.Entity (23)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
762
var clrEnumUnderlyingType = edmEnumType.UnderlyingType.
ClrEquivalentType
;
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
837
value = Convert.ChangeType(value, primitiveType.
ClrEquivalentType
, CultureInfo.InvariantCulture);
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
34
Debug.Assert(Helper.AsPrimitive(resultType.EdmType).
ClrEquivalentType
== (value.GetType().IsEnum ? value.GetType().GetEnumUnderlyingType() : value.GetType()),
System\Data\Common\Internal\Materialization\Translator.cs (1)
385
result = ((PrimitiveType)edmType).
ClrEquivalentType
;
System\Data\EntityKey.cs (1)
1103
Type entitySetKeyType = ((PrimitiveType)keyMemberEdmType).
ClrEquivalentType
;
System\Data\Mapping\StorageMappingItemLoader.cs (3)
2395
Debug.Assert(cPrimitiveType.
ClrEquivalentType
!= null, "Scalar Types should have associated clr type");
2398
cPrimitiveType.
ClrEquivalentType
,
3260
Type clrMemberType = memberType.
ClrEquivalentType
;
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
517
resultValue = Cast(childResult.GetSimpleValue(), ((PrimitiveType)nodeType.EdmType).
ClrEquivalentType
);
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
474
var columnClrEquivalentType = ((PrimitiveType)propertyType.EdmType).
ClrEquivalentType
;
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (2)
547
clrType = underlyingType.
ClrEquivalentType
;
556
clrType = primitiveType.
ClrEquivalentType
;
System\Data\Metadata\Converter.cs (1)
1058
Type clrEnumUnderlyingType = enumUnderlyingType.Type.
ClrEquivalentType
;
System\Data\Metadata\Edm\EnumType.cs (1)
169
Debug.Assert(enumMember.Value.GetType() == UnderlyingType.
ClrEquivalentType
);
System\Data\Metadata\Edm\PrimitiveType.cs (2)
72
Debug.Assert(clrType ==
ClrEquivalentType
, "not equivalent to ClrEquivalentType");
92
get { return
ClrEquivalentType
; }
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (1)
224
Debug.Assert(clrType == primitiveType.
ClrEquivalentType
, "ClrEquivalentType mismatch");
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
286
Debug.Assert(cspaceEnumType.UnderlyingType.
ClrEquivalentType
== enumType.GetEnumUnderlyingType(), "underlying types should have already been checked");
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
575
((PrimitiveType)parameterEdmType).
ClrEquivalentType
:
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
996
return ((PrimitiveType)left.EdmType).
ClrEquivalentType
.Equals(
997
((PrimitiveType)right.EdmType).
ClrEquivalentType
);
System\Data\Query\ResultAssembly\BridgeDataReader.cs (2)
194
result = primitiveType.
ClrEquivalentType
;
207
result = ((EnumType)typeUsage.EdmType).UnderlyingType.
ClrEquivalentType
;
System.Data.Entity.Design (3)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
262
if (primitiveType != null && primitiveType.
ClrEquivalentType
== typeof(byte[]))
477
if (primitiveType.
ClrEquivalentType
.IsClass)
807
Type type = primitiveType.
ClrEquivalentType
;
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1223
WebUtil.IsPrimitiveType(((PrimitiveType)type).
ClrEquivalentType
),
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
279
if (primitiveType != null && primitiveType.
ClrEquivalentType
== typeof(byte[]))
730
Type type = primitiveType.
ClrEquivalentType
;
System.Web.DynamicData (1)
DynamicData\ModelProviders\EFColumnProvider.cs (1)
107
base.ColumnType = ((PrimitiveType)edmType).
ClrEquivalentType
;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
711
((PrimitiveType)memberType).
ClrEquivalentType
: