mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 16:18:47 +08:00
Update 人大金仓 unit test
This commit is contained in:
parent
cfa4c6e40b
commit
fb6945a401
@ -25,7 +25,7 @@ namespace OrmTest
|
||||
}
|
||||
}
|
||||
});
|
||||
public static SqlSugarScope ssDb => new SqlSugarScope(new ConnectionConfig()
|
||||
public static SqlSugarClient ssDb => new SqlSugarClient(new ConnectionConfig()
|
||||
{
|
||||
DbType = DbType.Kdbndp,
|
||||
ConnectionString = Config.ConnectionString,
|
||||
@ -41,7 +41,7 @@ namespace OrmTest
|
||||
}
|
||||
}
|
||||
});
|
||||
public static SqlSugarClient singleDb = new SqlSugarClient(new ConnectionConfig()
|
||||
public static SqlSugarScope singleDb = new SqlSugarScope(new ConnectionConfig()
|
||||
{
|
||||
DbType = DbType.Kdbndp,
|
||||
ConnectionString = Config.ConnectionString,
|
||||
|
@ -10,7 +10,7 @@ namespace OrmTest
|
||||
{
|
||||
public static void Check(object a, object b, object name)
|
||||
{
|
||||
if (a?.ToString()?.Trim() != b?.ToString()?.Trim())
|
||||
if (a?.ToString()?.Replace(" ","").Trim().ToLower() != b?.ToString().Replace(" ", "")?.Trim().ToLower())
|
||||
{
|
||||
throw new Exception(name + " error");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user