|
|
@ -25,6 +25,14 @@ namespace SqlSugar |
|
|
|
{ |
|
|
|
return new SqlServerQueryable<T>(); |
|
|
|
} |
|
|
|
else if (currentConnectionConfig.DbType == DbType.MySql) |
|
|
|
{ |
|
|
|
return new MySqlQueryable<T>(); |
|
|
|
} |
|
|
|
else if (currentConnectionConfig.DbType == DbType.PostgreSQL) |
|
|
|
{ |
|
|
|
return new PostgreSQLQueryable<T>(); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
string className = "Queryable"; |
|
|
@ -246,6 +254,10 @@ namespace SqlSugar |
|
|
|
{ |
|
|
|
return new SqlServerDbBind(); |
|
|
|
} |
|
|
|
else if (currentConnectionConfig.DbType == DbType.MySql) |
|
|
|
{ |
|
|
|
return new MySqlDbBind(); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
IDbBind result = CreateInstance<IDbBind>(GetClassName(currentConnectionConfig.DbType.ToString(), "DbBind")); |
|
|
|