示例#1
0
 public static OleDbType ToOleDbType(Type systemType)
 {
     return(oleDbTypes.SingleOrDefault(x => x.First == systemType).Second);
 }
示例#2
0
 public static SqlDbType ToSqlDbType(Type systemType)
 {
     return(sqlDbTypes.SingleOrDefault(x => x.First == systemType).Second);
 }
示例#3
0
 public static Type ToSystemType(SqlDbType sqlDbType)
 {
     return(netTypes.SingleOrDefault(x => x.First == sqlDbType).Second);
 }
示例#4
0
 public static DbType ToDbType(SqlDbType sqlDbType)
 {
     return(dbTypes.SingleOrDefault(x => x.First == sqlDbType).Second);
 }
 public static SqlDbType ToSqlDbType(OleDbType oleDbType)
 {
     return(sqlDbTypes.SingleOrDefault(x => x.First == oleDbType).Second);
 }