mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Gobal Filter BUG in MySql Sqlite
This commit is contained in:
@@ -39,7 +39,7 @@ namespace OrmTest.Demo
|
||||
|
||||
public static SqlSugarClient GetInstance1()
|
||||
{
|
||||
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer, IsAutoCloseConnection = true });
|
||||
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.MySql, IsAutoCloseConnection = true });
|
||||
db.QueryFilter
|
||||
.Add(new SqlFilterItem()
|
||||
{
|
||||
|
Reference in New Issue
Block a user