25 references to MaxValue
System.Data.Entity (17)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
2460
if (facetDescription.
MaxValue
.HasValue && byteValue > facetDescription.
MaxValue
.Value)
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (4)
285
if(precisionFacetDescription.
MaxValue
.Value < scaleFacetDescription.
MaxValue
.Value)
290
precisionFacetDescription.
MaxValue
.Value,
291
scaleFacetDescription.
MaxValue
.Value));
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (8)
385
if (precision < precisionFacetDescription.MinValue.Value || precision > precisionFacetDescription.
MaxValue
.Value)
392
precisionFacetDescription.
MaxValue
.Value,
404
if (scale < scaleFacetDescription.MinValue.Value || scale > scaleFacetDescription.
MaxValue
.Value)
411
scaleFacetDescription.
MaxValue
.Value,
442
if (precision < precisionFacetDescription.MinValue.Value || precision > precisionFacetDescription.
MaxValue
.Value)
449
precisionFacetDescription.
MaxValue
.Value,
482
int maxLength = (int)facetDescription.
MaxValue
;
525
int maxSrid = (int)facetDescription.
MaxValue
;
System\Data\Metadata\CacheForPrimitiveTypes.cs (2)
125
maxLength = Helper.GetFacet(primitiveType.FacetDescriptions, EdmProviderManifest.MaxLengthFacetName).
MaxValue
.Value;
129
int newMaxLength = Helper.GetFacet(primitiveType.FacetDescriptions, EdmProviderManifest.MaxLengthFacetName).
MaxValue
.Value;
System\Data\Metadata\Converter.cs (1)
1384
EdmProviderManifest.MaxLengthFacetName).
MaxValue
System.Data.Entity.Design (8)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (8)
1347
if (row.Precision < precision.Description.MinValue || row.Precision > precision.Description.
MaxValue
)
1355
precision.Description.
MaxValue
,
1371
if (row.Scale < scale.Description.MinValue || row.Scale > scale.Description.
MaxValue
)
1379
scale.Description.
MaxValue
,
1400
if (row.DateTimePrecision < datetimePrecision.Description.MinValue || row.DateTimePrecision > datetimePrecision.Description.
MaxValue
)
1408
datetimePrecision.Description.
MaxValue
,
1428
if (row.MaximumLength < maxLength.Description.MinValue || row.MaximumLength > maxLength.Description.
MaxValue
)
1436
maxLength.Description.
MaxValue
,