35 references to Description
System.Data.Entity (9)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (3)
124
if (defaultFacet.
Description
.IsConstant)
134
calculatedFacets.Add(defaultFacet.Name, Facet.Create(defaultFacet.
Description
, value));
141
else if (complainOnMissingFacet && defaultFacet.
Description
.IsRequired)
System\Data\Metadata\Converter.cs (2)
1273
if (!targetFacet.
Description
.IsConstant)
1276
newFacets[targetFacet.Name] = Facet.Create(targetFacet.
Description
, sourceFacet.Value);
System\Data\Metadata\Edm\TypeUsage.cs (1)
529
f => f.
Description
,
System\Data\SqlClient\SqlProviderManifest.cs (3)
609
Debug.Assert(tu.Facets[DbProviderManifest.MaxLengthFacetName].
Description
.IsConstant, "varbinary(max) is not constant!");
651
Debug.Assert(tu.Facets[DbProviderManifest.MaxLengthFacetName].
Description
.IsConstant, "NVarchar(max) is not constant!");
680
Debug.Assert(tu.Facets[DbProviderManifest.MaxLengthFacetName].
Description
.IsConstant, "varchar(max) is not constant!");
System.Data.Entity.Design (26)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
458
providerFacetDescription = facet.
Description
;
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (25)
1338
facets[DbProviderManifest.NullableFacetName] = Facet.Create(facets[DbProviderManifest.NullableFacetName].
Description
, row.IsNullable);
1345
if (!row.IsPrecisionNull() && !precision.
Description
.IsConstant)
1347
if (row.Precision < precision.
Description
.MinValue || row.Precision > precision.
Description
.MaxValue)
1354
precision.
Description
.MinValue,
1355
precision.
Description
.MaxValue,
1363
facets[precision.Name] = Facet.Create(precision.
Description
, (byte)row.Precision);
1369
if (!row.IsScaleNull() && !scale.
Description
.IsConstant)
1371
if (row.Scale < scale.
Description
.MinValue || row.Scale > scale.
Description
.MaxValue)
1378
scale.
Description
.MinValue,
1379
scale.
Description
.MaxValue,
1387
facets[scale.Name] = Facet.Create(scale.
Description
, (byte)row.Scale);
1398
if (!row.IsDateTimePrecisionNull() && !datetimePrecision.
Description
.IsConstant)
1400
if (row.DateTimePrecision < datetimePrecision.
Description
.MinValue || row.DateTimePrecision > datetimePrecision.
Description
.MaxValue)
1407
datetimePrecision.
Description
.MinValue,
1408
datetimePrecision.
Description
.MaxValue,
1416
facets[datetimePrecision.Name] = Facet.Create(datetimePrecision.
Description
, (byte)row.DateTimePrecision);
1426
if (!row.IsMaximumLengthNull() && !maxLength.
Description
.IsConstant)
1428
if (row.MaximumLength < maxLength.
Description
.MinValue || row.MaximumLength > maxLength.
Description
.MaxValue)
1435
maxLength.
Description
.MinValue,
1436
maxLength.
Description
.MaxValue,
1444
facets[maxLength.Name] = Facet.Create(maxLength.
Description
, row.MaximumLength);