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