Browse Source

MYSQL PGSQL Performance optimization

pull/1/head
skx 4 years ago
parent
commit
d35f705965
  1. 8
      Src/Asp.Net/SqlSugar/Infrastructure/InstanceFactory.cs

8
Src/Asp.Net/SqlSugar/Infrastructure/InstanceFactory.cs

@ -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";

Loading…
Cancel
Save