Example #1
0
 internal static byte GetScale(this TypeUsage type)
 {
     return(type.GetFacetValue <byte>(DbProviderManifest.ScaleFacetName));
 }
Example #2
0
 internal static int GetMaxLength(this TypeUsage type)
 {
     return(type.GetFacetValue <int>(DbProviderManifest.MaxLengthFacetName));
 }
Example #3
0
 internal static byte GetPrecision(this TypeUsage type)
 {
     return(type.GetFacetValue <byte>(DbProviderManifest.PrecisionFacetName));
 }
Example #4
0
 internal static int GetMaxLength(this TypeUsage type)
 {
     return(type.GetFacetValue <int>("MaxLength"));
 }
Example #5
0
 internal static byte GetScale(this TypeUsage type)
 {
     return(type.GetFacetValue <byte>("Scale"));
 }
Example #6
0
 internal static byte GetPrecision(this TypeUsage type)
 {
     return(type.GetFacetValue <byte>("Precision"));
 }
        internal static byte GetScale(this TypeUsage type)
        {
            DebugCheck.NotNull(type);

            return(type.GetFacetValue <byte>(DbProviderManifest.ScaleFacetName));
        }