mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update .NET
This commit is contained in:
@@ -462,7 +462,7 @@ namespace SqlSugar
|
|||||||
List<DiffLogTableInfo> result = new List<DiffLogTableInfo>();
|
List<DiffLogTableInfo> result = new List<DiffLogTableInfo>();
|
||||||
var whereSql = string.Empty;
|
var whereSql = string.Empty;
|
||||||
List<IConditionalModel> cons = new List<IConditionalModel>();
|
List<IConditionalModel> cons = new List<IConditionalModel>();
|
||||||
if (identity != null&&identity>0)
|
if (identity != null&&identity>0&& GetIdentityKeys().HasValue())
|
||||||
{
|
{
|
||||||
var fieldName = GetIdentityKeys().Last();
|
var fieldName = GetIdentityKeys().Last();
|
||||||
cons.Add(new ConditionalModel() { ConditionalType=ConditionalType.Equal, FieldName= fieldName, FieldValue=identity.ToString() });
|
cons.Add(new ConditionalModel() { ConditionalType=ConditionalType.Equal, FieldName= fieldName, FieldValue=identity.ToString() });
|
||||||
|
@@ -8,6 +8,6 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
public class Config
|
public class Config
|
||||||
{
|
{
|
||||||
public static string ConnectionString = @"DataSource=F:\GIT\SqlSugar\Src\Asp.Net\SqliteTest\DataBase\SqlSugar4xTest.sqlite";
|
public static string ConnectionString = @"DataSource=F:\MyOpenSource\SqlSugar4.XNew\SqlSugar\Src\Asp.Net\SqliteTest\DataBase\SqlSugar4xTest.sqlite";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user