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