public static OleDbType ToOleDbType(Type systemType) { return(oleDbTypes.SingleOrDefault(x => x.First == systemType).Second); }
public static SqlDbType ToSqlDbType(Type systemType) { return(sqlDbTypes.SingleOrDefault(x => x.First == systemType).Second); }
public static Type ToSystemType(SqlDbType sqlDbType) { return(netTypes.SingleOrDefault(x => x.First == sqlDbType).Second); }
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); }