19 references to Create
System.Data.Entity (19)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (4)
134
calculatedFacets.Add(defaultFacet.Name, Facet.
Create
(defaultFacet.Description, value));
159
Facet facet = Facet.
Create
(Converter.StoreGeneratedPatternFacet, value.Value);
164
Facet facet = Facet.
Create
(Converter.ConcurrencyModeFacet, value.Value);
170
Facet facet = Facet.
Create
(Converter.CollationFacet, value.Value);
System\Data\Metadata\CacheForPrimitiveTypes.cs (5)
162
facets[i] = Facet.
Create
(facetDescriptions[i], TypeUsage.DefaultMaxLengthFacetValue);
166
facets[i] = Facet.
Create
(facetDescriptions[i], TypeUsage.DefaultUnicodeFacetValue);
170
facets[i] = Facet.
Create
(facetDescriptions[i], TypeUsage.DefaultFixedLengthFacetValue);
174
facets[i] = Facet.
Create
(facetDescriptions[i], TypeUsage.DefaultPrecisionFacetValue);
178
facets[i] = Facet.
Create
(facetDescriptions[i], TypeUsage.DefaultScaleFacetValue);
System\Data\Metadata\Converter.cs (4)
1276
newFacets[targetFacet.Name] = Facet.
Create
(targetFacet.Description, sourceFacet.Value);
1306
facets[DbProviderManifest.NullableFacetName] = Facet.
Create
(MetadataItem.NullableFacetDescription, false);
1312
facets[DbProviderManifest.DefaultValueFacetName] = Facet.
Create
(MetadataItem.DefaultValueFacetDescription, somProperty.DefaultAsObject);
1320
Facet newFacet = Facet.
Create
(MetadataItem.CollectionKindFacetDescription, somProperty.CollectionKind);
System\Data\Metadata\Edm\FacetValues.cs (6)
61
facet = Facet.
Create
(description, _nullable.GetValueAsObject());
69
facet = Facet.
Create
(description, _maxLength.GetValueAsObject());
77
facet = Facet.
Create
(description, _unicode.GetValueAsObject());
85
facet = Facet.
Create
(description, _fixedLength.GetValueAsObject());
93
facet = Facet.
Create
(description, _precision.GetValueAsObject());
101
facet = Facet.
Create
(description, _scale.GetValueAsObject());