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

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