System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (46)
157if (value.Key == EdmProviderManifest.StoreGeneratedPatternFacetName)
162else if (value.Key == EdmProviderManifest.ConcurrencyModeFacetName)
168value.Key == EdmProviderManifest.CollationFacetName)
209&& !_facetValues.ContainsKey(EdmProviderManifest.IsStrictFacetName)
212this._facetValues.Add(EdmProviderManifest.IsStrictFacetName, false /* only possible value */);
278if (value.Key != EdmProviderManifest.NullableFacetName &&
279value.Key != EdmProviderManifest.StoreGeneratedPatternFacetName &&
280value.Key != EdmProviderManifest.ConcurrencyModeFacetName)
301if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.NullableFacetName))
311else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.PrecisionFacetName))
316else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.ScaleFacetName))
321else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.StoreGeneratedPatternFacetName))
326else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.ConcurrencyModeFacetName))
331else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.MaxLengthFacetName))
336else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.UnicodeFacetName))
341else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.CollationFacetName))
346else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.FixedLengthFacetName))
351else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.NullableFacetName))
356else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.SridFacetName))
379if (facets.TryGetValue(EdmProviderManifest.PrecisionFacetName, out precisionFacet) && precisionFacet.Value != null)
383EdmProviderManifest.PrecisionFacetName);
398if (facets.TryGetValue(EdmProviderManifest.ScaleFacetName, out scaleFacet) && scaleFacet.Value != null)
402EdmProviderManifest.ScaleFacetName);
436if (facets.TryGetValue(EdmProviderManifest.PrecisionFacetName, out precisionFacet) && precisionFacet.Value != null)
440EdmProviderManifest.PrecisionFacetName);
471if (!facets.TryGetValue(EdmProviderManifest.MaxLengthFacetName, out maxLenFacet) || maxLenFacet.Value == null)
481FacetDescription facetDescription = Helper.GetFacet(primitiveType.FacetDescriptions, EdmProviderManifest.MaxLengthFacetName);
497if (_facetValues.ContainsKey(EdmProviderManifest.ConcurrencyModeFacetName))
501System.Data.Entity.Strings.FacetNotAllowed(EdmProviderManifest.ConcurrencyModeFacetName, type.FullName));
506&& (!facets.TryGetValue(EdmProviderManifest.IsStrictFacetName, out isStrictFacet) || (bool)isStrictFacet.Value != false))
514if (!facets.TryGetValue(EdmProviderManifest.SridFacetName, out sridFacet) || sridFacet.Value == null)
524FacetDescription facetDescription = Helper.GetFacet(primitiveType.FacetDescriptions, EdmProviderManifest.SridFacetName);
536Debug.Assert(reader.LocalName == EdmProviderManifest.MaxLengthFacetName);
541_facetValues.Add(EdmProviderManifest.MaxLengthFacetName, EdmConstants.UnboundedValue);
551_facetValues.Add(EdmProviderManifest.MaxLengthFacetName, size);
556Debug.Assert(reader.LocalName == EdmProviderManifest.SridFacetName);
561_facetValues.Add(EdmProviderManifest.SridFacetName, EdmConstants.VariableValue);
571_facetValues.Add(EdmProviderManifest.SridFacetName, srid);
579_facetValues.Add(EdmProviderManifest.NullableFacetName, nullable);
607_facetValues.Add(EdmProviderManifest.StoreGeneratedPatternFacetName, storeGeneratedPattern);
629_facetValues.Add(EdmProviderManifest.ConcurrencyModeFacetName, concurrencyMode);
642_facetValues.Add(EdmProviderManifest.PrecisionFacetName, precision);
651_facetValues.Add(EdmProviderManifest.ScaleFacetName, scale);
660_facetValues.Add(EdmProviderManifest.UnicodeFacetName, isUnicode);
671_facetValues.Add(EdmProviderManifest.CollationFacetName, reader.Value);
679_facetValues.Add(EdmProviderManifest.FixedLengthFacetName, isFixedLength);