44 references to Name
System.Data.Entity (26)
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
185
facetInfo.Add(facet.
Name
, facet.Value);
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (9)
121
if (_facetValues.TryGetValue(defaultFacet.
Name
, out value))
129
System.Data.Entity.Strings.ConstantFacetSpecifiedInSchema(defaultFacet.
Name
, edmType.Name));
134
calculatedFacets.Add(defaultFacet.
Name
, Facet.Create(defaultFacet.Description, value));
139
_facetValues.Remove(defaultFacet.
Name
);
145
defaultFacet.
Name
,
151
calculatedFacets.Add(defaultFacet.
Name
, defaultFacet);
160
calculatedFacets.Add(facet.
Name
, facet);
165
calculatedFacets.Add(facet.
Name
, facet);
171
calculatedFacets.Add(facet.
Name
, facet);
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
607
if (facet.
Name
!= DbProviderManifest.NullableFacetName)
System\Data\Mapping\StorageMappingItemLoader.cs (2)
3690
facetDisplay.AppendFormat("{0}={1},", facets[i].
Name
, facets[i].Value ?? string.Empty);
3693
facetDisplay.AppendFormat("{0}={1}]", facets[numFacets - 1].
Name
, facets[numFacets-1].Value ?? string.Empty);
System\Data\Metadata\CacheForPrimitiveTypes.cs (1)
107
facet.
Name
== EdmProviderManifest.MaxLengthFacetName &&
System\Data\Metadata\Converter.cs (6)
1266
Dictionary<string, Facet> newFacets = targetType.Facets.ToDictionary(f => f.
Name
);
1271
if (newFacets.TryGetValue(sourceFacet.
Name
, out targetFacet))
1276
newFacets[targetFacet.
Name
] = Facet.Create(targetFacet.Description, sourceFacet.Value);
1282
newFacets.Add(sourceFacet.
Name
, sourceFacet);
1303
Dictionary<string, Facet> facets = propertyTypeUsage.Facets.ToDictionary(f => f.
Name
);
1321
facets.Add(newFacet.
Name
, newFacet);
System\Data\Metadata\Edm\Facet.cs (2)
96
string.Format(CultureInfo.CurrentCulture, "The facet {0} has type {1}, but a value of type {2} was supplied.", result.
Name
, result.FacetType.ClrType, valueType)
200
return this.
Name
;
System\Data\Metadata\Edm\TypeUsage.cs (3)
574
if (0 <= Array.BinarySearch(s_identityFacets, facet.
Name
, StringComparer.Ordinal))
579
builder.Append(facet.
Name
);
623
if (!other.Facets.TryGetValue(thisFacet.
Name
, false, out otherFacet))
System\Data\Metadata\EdmValidator.cs (1)
338
if (string.IsNullOrEmpty(item.
Name
))
System.Data.Entity.Design (16)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (10)
464
if (description.FacetName == facet.
Name
)
490
facet.
Name
== DbProviderManifest.MaxLengthFacetName &&
493
_writer.WriteAttributeString(TranslateFacetNameToAttributeName(facet.
Name
), XmlConstants.Max);
498
_writer.WriteAttributeString(TranslateFacetNameToAttributeName(facet.
Name
), GetAttributeValueString(facet.Value));
566
return (facet.
Name
== "ClientAutoGenerated" ||
567
facet.
Name
== EdmProviderManifest.ConcurrencyModeFacetName ||
568
facet.
Name
== XmlConstants.StoreGeneratedPattern ||
569
facet.
Name
== DbProviderManifest.CollationFacetName);
573
return (facet.
Name
== EdmProviderManifest.StoreGeneratedPatternFacetName ||
574
facet.
Name
== DbProviderManifest.CollationFacetName);
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (6)
1363
facets[precision.
Name
] = Facet.Create(precision.Description, (byte)row.Precision);
1387
facets[scale.
Name
] = Facet.Create(scale.Description, (byte)row.Scale);
1416
facets[datetimePrecision.
Name
] = Facet.Create(datetimePrecision.Description, (byte)row.DateTimePrecision);
1444
facets[maxLength.
Name
] = Facet.Create(maxLength.Description, row.MaximumLength);
1452
facets.Add(facet.
Name
, facet);
1457
facets.Add(facet.
Name
, facet);
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1547
WriteFacetValue(xmlWriter, facet.
Name
, facet.Value);
System.Web.DynamicData (1)
DynamicData\ModelProviders\EFColumnProvider.cs (1)
63
switch (facet.
Name
) {