16 references to Create
System.Data.Entity (16)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
196
return TypeUsage.
Create
(retEdmType, facets);
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (2)
189
_typeUsage = TypeUsage.
Create
(edmType, calculatedFacets.Values);
271
_typeUsage = TypeUsage.
Create
(scalar.Type, calculatedFacets.Values);
System\Data\Mapping\StorageMappingItemLoader.cs (1)
4449
TypeUsage.
Create
(Helper.GetUnderlyingEdmTypeForEnumType(typeUsage.EdmType), typeUsage.Facets) :
System\Data\Metadata\Converter.cs (2)
1288
targetType = TypeUsage.
Create
(targetType.EdmType, newFacets.Values);
1327
propertyTypeUsage = TypeUsage.
Create
(propertyTypeUsage.EdmType, facets.Values);
System\Data\Metadata\Edm\TypeUsage.cs (4)
93
return TypeUsage.
Create
(_edmType, OverrideFacetValues(Facets, facetValues));
422
result = TypeUsage.
Create
(edmRowType, this.Facets);
428
result = TypeUsage.
Create
(new CollectionType(newTypeUsage), this.Facets);
446
result = TypeUsage.
Create
(result.EdmType,
System\Data\Metadata\MetadataWorkspace.cs (1)
1285
TypeUsage result = TypeUsage.
Create
(clrType, edmSpaceTypeUsage.Facets);
System\Data\Metadata\TypeHelpers.cs (2)
462
return TypeUsage.
Create
(Helper.GetUnderlyingEdmTypeForEnumType(enumTypeUsage.EdmType), enumTypeUsage.Facets);
474
return TypeUsage.
Create
(Helper.GetSpatialNormalizedPrimitiveType(spatialTypeUsage.EdmType), spatialTypeUsage.Facets);
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
1871
TypeUsage.
Create
(Helper.GetUnderlyingEdmTypeForEnumType(returnType.EdmType), returnType.Facets) :
1914
TypeUsage.
Create
(Helper.GetUnderlyingEdmTypeForEnumType(returnType.EdmType), returnType.Facets) :
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1862
return m_command.CreateNode(m_command.CreateCastOp(md.TypeUsage.
Create
(underlyingType, op.Type.Facets)), n.Child0);