44 references to GetEdmType
System.Data.Entity (44)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (3)
768
EntityType targetType = (EntityType)TypeHelpers.
GetEdmType
<RefType>(expression.ResultType).ElementType;
972
TypeHelpers.
GetEdmType
<RowType>(TypeHelpers.
GetEdmType
<CollectionType>(expression.ResultType).TypeUsage);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (5)
114
endType = TypeHelpers.CreateReferenceTypeUsage(TypeHelpers.
GetEdmType
<EntityType>(endType));
1297
CollectionType inputType = TypeHelpers.
GetEdmType
<CollectionType>(argument.ResultType);
1318
return TypeHelpers.
GetEdmType
<CollectionType>(argument.ResultType).TypeUsage;
1661
EntityTypeBase expectedSourceType = TypeHelpers.
GetEdmType
<RefType>(relatedRef.SourceEnd.TypeUsage).ElementType;
2030
retType = TypeHelpers.CreateReferenceTypeUsage(TypeHelpers.
GetEdmType
<EntityType>(retType));
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
530
_key.Append(TypeHelpers.
GetEdmType
<RefType>(e.ResultType).ElementType.FullName);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (3)
795
AppendFullName(retNode.Text, TypeHelpers.
GetEdmType
<RefType>(e.ResultType).ElementType);
909
RowType outputType = TypeHelpers.
GetEdmType
<RowType>(TypeHelpers.
GetEdmType
<CollectionType>(e.ResultType).TypeUsage);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
161
EntityType requiredSourceNavType = (EntityType)TypeHelpers.
GetEdmType
<RefType>(dependentSetEnd.CorrespondingAssociationEndMember.TypeUsage).ElementType;
221
EntityType constructedEntityType = TypeHelpers.
GetEdmType
<EntityType>(entityConstructor.ResultType);
282
EntityType principalEntityType = (EntityType)TypeHelpers.
GetEdmType
<RefType>(fkConstraint.FromRole.TypeUsage).ElementType;
441
RowType resultRow = TypeHelpers.
GetEdmType
<RowType>(rowConstructor.ResultType);
System\Data\Common\CommandTrees\ValueExpressions.cs (2)
599
EntityTypeBase endType = TypeHelpers.
GetEdmType
<RefType>(targetEnd.TypeUsage).ElementType;
600
EntityTypeBase targetType = TypeHelpers.
GetEdmType
<RefType>(targetEntityRef.ResultType).ElementType;
System\Data\Query\InternalTrees\Command.cs (1)
1133
Table t = this.CreateTableInstance(Command.CreateTableDefinition(TypeHelpers.
GetEdmType
<CollectionType>(v.Type).TypeUsage));
System\Data\Query\InternalTrees\ScalarOps.cs (1)
1161
m_fields = new List<EdmProperty>(TypeHelpers.
GetEdmType
<RowType>(type).Properties);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (1)
371
newSoftCastOp = command.CreateSoftCastOp(TypeHelpers.
GetEdmType
<CollectionType>(softCastOp.Type).TypeUsage);
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (2)
234
foreach (md.EdmMember keyProperty in TypeHelpers.
GetEdmType
<md.EntityType>(typeInfo.Type).KeyMembers)
440
md.EntityType entityType = (md.EntityType)(TypeHelpers.
GetEdmType
<md.RefType>(typeInfo.Type).ElementType);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
2156
CollectionType outputType = TypeHelpers.
GetEdmType
<CollectionType>(TypeHelpers.GetCommonTypeUsage(left.ResultType, right.ResultType));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (6)
341
return TypeHelpers.
GetEdmType
<RowType>(TypeHelpers.
GetEdmType
<CollectionType>(typeUsage).TypeUsage);
1138
CollectionType targetCollectionType = TypeHelpers.
GetEdmType
<CollectionType>(targetType);
1610
Var outputVar = _iqtCommand.CreateSetOpVar(TypeHelpers.
GetEdmType
<CollectionType>(expression.ResultType).TypeUsage);
2073
StructuralType resultType = TypeHelpers.
GetEdmType
<StructuralType>(e.ResultType);
2084
CollectionType resultType = TypeHelpers.
GetEdmType
<CollectionType>(e.ResultType);
System\Data\Query\PlanCompiler\NestPullup.cs (1)
1738
md.CollectionType collType = TypeHelpers.
GetEdmType
<md.CollectionType>(op.Var.Type);
System\Data\Query\PlanCompiler\Normalizer.cs (1)
173
softCastType = TypeHelpers.
GetEdmType
<CollectionType>(argNode.Op.Type).TypeUsage;
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
1926
CollectionType collectionType = TypeHelpers.
GetEdmType
<CollectionType>(op.Type);
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (2)
361
PropertyRefList desiredProperties = GetIdentityProperties(TypeHelpers.
GetEdmType
<md.EntityType>(childOpType));
397
md.EntityType entityType = TypeHelpers.
GetEdmType
<md.EntityType>(childOp.Type);
System\Data\Query\PlanCompiler\ProviderCommandInfoUtils.cs (2)
66
md.CollectionType collType = TypeHelpers.
GetEdmType
<md.CollectionType>(cqtree.Query.ResultType);
109
IEnumerator<md.EdmProperty> propertyEnumerator = TypeHelpers.
GetEdmType
<md.RowType>(outputType).Properties.GetEnumerator();
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (2)
473
type = TypeHelpers.
GetEdmType
<md.CollectionType>(type).TypeUsage;
723
md.TypeUsage elementType = TypeHelpers.
GetEdmType
<md.CollectionType>(type).TypeUsage;
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
332
entityType = TypeHelpers.
GetEdmType
<md.EntityTypeBase>(m_type);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (4)
1438
RowType groupByType = TypeHelpers.
GetEdmType
<RowType>(TypeHelpers.
GetEdmType
<CollectionType>(e.ResultType).TypeUsage);
2934
CollectionType collectionType = TypeHelpers.
GetEdmType
<CollectionType>(e.ResultType);
4113
type = TypeHelpers.
GetEdmType
<CollectionType>(e.ResultType).TypeUsage;