Gobal Filter BUG in MySql Sqlite

This commit is contained in:
sunkaixuan
2017-08-11 12:32:49 +08:00
parent 461a55f3fa
commit 9512661fe7
4 changed files with 34 additions and 26 deletions

View File

@@ -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()
{