50 references to Type
System.Data.Entity (50)
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (6)
204Append("C-", columnMap.Type); 220Append("E-", columnMap.Type); 228Append("SP-", columnMap.Type); 241Append("R-", columnMap.Type); 251bool isRefType = TypeHelpers.TryGetRefEntityType(columnMap.Type, out referencedEntityType); 259"S({0}-{1}:{2})", columnMap.CommandId, columnMap.ColumnPos, columnMap.Type.Identity);
System\Data\Common\Internal\Materialization\Translator.cs (17)
1139Type type = translator.DetermineClrType(columnMap.Type); 1165ComplexType complexType = (ComplexType)columnMap.Type.EdmType; 1218EntityType cSpaceType = (EntityType)columnMap.Type.EdmType; 1357ObjectTypeMapping mapping = LookupObjectMapping(columnMap.Type.EdmType); 1383Expression valueReaderWithErrorHandling = Emit_Shaper_GetPropertyValueWithErrorHandling(propertyType, scalarColumnMap.ColumnPos, propertyName, propertyAccessor.DeclaringType.Name, scalarColumnMap.Type); 1446Type type = DetermineClrType(typeChoice.Value.Type); 1546Debug.Assert(columnMap.Type.EdmType.BuiltInTypeKind == BuiltInTypeKind.RowType, "RecordColumnMap without RowType?"); // we kind of depend upon this 1552if (InitializerMetadata.TryGetInitializerMetadata(columnMap.Type, out initializerMetadata)) 1559RowType spanRowType = (RowType)columnMap.Type.EdmType; 1599if (TypeHelpers.TryGetEdmType<EntityType>(columnMap.Type, out entityTypeMetadata)) 1605TypeUsage edmType = Helper.GetModelTypeUsage(columnMap.Type); 1625typeUsages[ordinal] = columnMap.Properties[ordinal].Type; 1674type = DetermineClrType(propertyColumnMap.Type); 1709TypeUsage type = columnMap.Type; 1826elementColumnMap = new RecordColumnMap(columnMap.Element.Type, columnMap.Element.Name, columnMaps, null); 1940TypeUsage edmElementType = ((CollectionType)columnMap.Type.EdmType).TypeUsage; // the TypeUsage of the Element of the collection. 2064TypeUsage columnType = columnMap.Type;
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
122TypeUsage functionViewType = rootProjectOp.ColumnMap.Type;
System\Data\Objects\ObjectContext.cs (1)
3191return new ObjectResult<TElement>(shaper, entitySet, MetadataHelper.GetElementType(columnMap.Type), readerOwned);
System\Data\Query\InternalTrees\ColumnMapCopier.cs (9)
174return new ComplexTypeColumnMap(columnMap.Type, columnMap.Name, fieldList, newNullability); 189return new DiscriminatedCollectionColumnMap(columnMap.Type, columnMap.Name, newElementColumnMap, newKeys, newForeignKeys, newDiscriminator, columnMap.DiscriminatorValue); 202return new EntityColumnMap(columnMap.Type, columnMap.Name, fieldList, newEntityIdentity); 222return new SimplePolymorphicColumnMap(columnMap.Type, columnMap.Name, newBaseFieldList, newDiscriminator, newTypeChoices); 250return new RecordColumnMap(columnMap.Type, columnMap.Name, fieldList, newNullability); 262return new RefColumnMap(columnMap.Type, columnMap.Name, newEntityIdentity); 273return new ScalarColumnMap(columnMap.Type, columnMap.Name, columnMap.CommandId, columnMap.ColumnPos); 287return new SimpleCollectionColumnMap(columnMap.Type, columnMap.Name, newElementColumnMap, newKeys, newForeignKeys); 299return new VarRefColumnMap(columnMap.Type, columnMap.Name, replacementVar);
System\Data\Query\InternalTrees\Command.cs (1)
1453TypeUtils.CreateCollectionType(varRefColumnMap.Type), // type
System\Data\Query\InternalTrees\Dump.cs (1)
624attrs.Add("Type", columnMap.Type.ToString());
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
384if (md.TypeSemantics.IsStructurallyEqual(value.Type, typeInfo.Type))
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (9)
168columnMap = new VarRefColumnMap(varRefColumnMap.Type, varRefColumnMap.Name, replacementVar); 198columnMap = new ScalarColumnMap(varRefColumnMap.Type, varRefColumnMap.Name, commandAndColumn.Key, commandAndColumn.Value); 290columnMap = new ComplexTypeColumnMap(columnMap.Type, columnMap.Name, columnMap.Properties, newNullSentinel); 310columnMap = new DiscriminatedCollectionColumnMap(columnMap.Type, columnMap.Name, newElement, columnMap.Keys, columnMap.ForeignKeys,(SimpleColumnMap)newDiscriminator, columnMap.DiscriminatorValue); 328columnMap = new EntityColumnMap(columnMap.Type, columnMap.Name, columnMap.Properties, newEntityIdentity); 363columnMap = new SimplePolymorphicColumnMap(columnMap.Type, columnMap.Name, columnMap.Properties, (SimpleColumnMap)newTypeDiscriminator, newTypeChoices); 397columnMap = new RecordColumnMap(columnMap.Type, columnMap.Name, columnMap.Properties, newNullSentinel); 414columnMap = new RefColumnMap(columnMap.Type, columnMap.Name, newEntityIdentity); 444columnMap = new SimpleCollectionColumnMap(columnMap.Type, columnMap.Name, newElement, columnMap.Keys, columnMap.ForeignKeys);
System\Data\Query\PlanCompiler\NestPullup.cs (2)
1972newProjectColumnMap = new SimpleCollectionColumnMap(newProjectColumnMap.Type, newProjectColumnMap.Name, newProjectColumnMap.Element, keyColumnMaps, null); 2309TypeUtils.CreateCollectionType(newCollectionInfo.ColumnMap.Type),
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
983SimpleCollectionColumnMap resultColumnMap = new SimpleCollectionColumnMap(TypeUtils.CreateCollectionType(newColumnMap.Type), newColumnMap.Name, newColumnMap, columnMap.Keys, columnMap.ForeignKeys);
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
2417AddTypeNeedingNullSentinel(typesNeedingNullSentinel, columnMap.Type);