21 references to TryGetEdmType
System.Data.Entity (21)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (6)
760
if(TypeHelpers.
TryGetEdmType
<EnumType>(constantType, out edmEnumType))
778
if (!TypeHelpers.
TryGetEdmType
<PrimitiveType>(constantType, out primitiveType))
1113
if (!TypeHelpers.
TryGetEdmType
<EntityType>(argument.ResultType, out entityType) || null == entityType)
1203
if (!TypeHelpers.
TryGetEdmType
<RefType>(argument.ResultType, out refType) || null == refType)
1593
if (TypeHelpers.
TryGetEdmType
<CollectionType>(instanceType, out collectionType) &&
1715
if (TypeHelpers.
TryGetEdmType
<StructuralType>(instance.ResultType, out structType))
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
39
this._shouldCloneValue = TypeHelpers.
TryGetEdmType
<PrimitiveType>(resultType, out primitiveType)
System\Data\Common\Internal\Materialization\Translator.cs (1)
1599
if (TypeHelpers.
TryGetEdmType
<EntityType>(columnMap.Type, out entityTypeMetadata))
System\Data\Metadata\TypeHelpers.cs (2)
603
if (TypeHelpers.
TryGetEdmType
<CollectionType>(type, out collectionType))
623
if (
TryGetEdmType
<RefType>(type, out refType) &&
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
2159
if (TypeHelpers.
TryGetEdmType
<RowType>(outputType.TypeUsage, out outputElementType))
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (5)
240
if (TypeHelpers.
TryGetEdmType
<md.CollectionType>(type, out collectionType))
464
if (TypeHelpers.
TryGetEdmType
<md.RowType>(currentType, out recordType))
491
if (TypeHelpers.
TryGetEdmType
<md.EntityType>(currentType, out entityType))
509
if (TypeHelpers.
TryGetEdmType
<md.ComplexType>(currentType, out complexType))
518
if (TypeHelpers.
TryGetEdmType
<md.RefType>(currentType, out refType))
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (3)
520
else if (TypeHelpers.
TryGetEdmType
<md.RefType>(type, out refType))
543
if (TypeHelpers.
TryGetEdmType
<md.EntityTypeBase>(type, out entityType))
838
if (TypeHelpers.
TryGetEdmType
<md.RefType>(typeInfo.Type, out refType))
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
326
if (TypeHelpers.
TryGetEdmType
<md.RefType>(m_type, out refType))
System\Data\Query\ResultAssembly\BridgeDataReader.cs (1)
193
if (TypeHelpers.
TryGetEdmType
<PrimitiveType>(typeUsage, out primitiveType)) {