internal static bool TryGetScale(TypeUsage type, out byte scale)
 {
     if (EF6MetadataHelpers.IsPrimitiveType(type, PrimitiveTypeKind.Decimal))
     {
         return(EF6MetadataHelpers.TryGetByteFacetValue(type, "Scale", out scale));
     }
     scale = (byte)0;
     return(false);
 }
 internal static bool TryGetPrecision(TypeUsage type, out byte precision)
 {
     if (EF6MetadataHelpers.IsPrimitiveType(type, PrimitiveTypeKind.Decimal))
     {
         return(EF6MetadataHelpers.TryGetByteFacetValue(type, "Precision", out precision));
     }
     precision = (byte)0;
     return(false);
 }