mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 11:19:15 +08:00
Update 人大金仓 Updteable(list).Where
This commit is contained in:
@@ -98,6 +98,10 @@ namespace SqlSugar
|
||||
}
|
||||
private bool UpdateObjectNotWhere()
|
||||
{
|
||||
if (this.Context?.CurrentConnectionConfig?.MoreSettings?.DatabaseModel == DbType.SqlServer)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return this.Context.CurrentConnectionConfig.DbType != DbType.MySql
|
||||
&& this.Context.CurrentConnectionConfig.DbType != DbType.MySqlConnector
|
||||
&& this.Context.CurrentConnectionConfig.DbType != DbType.SqlServer;
|
||||
|
||||
@@ -166,10 +166,10 @@ namespace SqlSugar
|
||||
{
|
||||
var isFirst = whereString == null;
|
||||
whereString += (isFirst ? null : " AND ");
|
||||
whereString += item;
|
||||
whereString += item.Replace(" \""," T.\"");
|
||||
}
|
||||
}
|
||||
else if (PrimaryKeys.HasValue())
|
||||
if (PrimaryKeys.HasValue())
|
||||
{
|
||||
foreach (var item in PrimaryKeys)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user