Beispiel #1
0
 internal static byte GetScale(this TypeUsage type)
 {
     return(type.GetFacetValue <byte>(DbProviderManifest.ScaleFacetName));
 }
Beispiel #2
0
 internal static int GetMaxLength(this TypeUsage type)
 {
     return(type.GetFacetValue <int>(DbProviderManifest.MaxLengthFacetName));
 }
Beispiel #3
0
 internal static byte GetPrecision(this TypeUsage type)
 {
     return(type.GetFacetValue <byte>(DbProviderManifest.PrecisionFacetName));
 }
Beispiel #4
0
 internal static int GetMaxLength(this TypeUsage type)
 {
     return(type.GetFacetValue <int>("MaxLength"));
 }
Beispiel #5
0
 internal static byte GetScale(this TypeUsage type)
 {
     return(type.GetFacetValue <byte>("Scale"));
 }
Beispiel #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));
        }