Пример #1
0
 public static bool IsSignedSql(System.Type type)
 {
     if ((object)type != (object)typeof(short) && (object)type != (object)typeof(int) && ((object)type != (object)typeof(long) && (object)type != (object)typeof(sbyte)) && ((object)type != (object)typeof(SqlInt64) && (object)type != (object)typeof(SqlInt32) && (object)type != (object)typeof(SqlInt16)))
     {
         return(GridViewHelper.IsFloatSql(type));
     }
     return(true);
 }
Пример #2
0
 internal static bool IsNumericSql(System.Type type)
 {
     if (!GridViewHelper.IsFloatSql(type))
     {
         return(GridViewHelper.IsIntegerSql(type));
     }
     return(true);
 }