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