mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update access
This commit is contained in:
@@ -10,7 +10,18 @@ namespace SqlSugar.Access
|
||||
{
|
||||
protected override string TomultipleSqlString(List<IGrouping<int, DbColumnInfo>> groupList)
|
||||
{
|
||||
throw new Exception("access no support batch update");
|
||||
if (groupList.Count == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if (groupList.GroupBy(it => it.Key).Count() > 1)
|
||||
{
|
||||
throw new Exception("access no support batch update");
|
||||
}
|
||||
else
|
||||
{
|
||||
return ToSingleSqlString(groupList);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.1.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.1.0.0")]
|
||||
[assembly: AssemblyVersion("1.2.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.2.0.0")]
|
||||
|
Reference in New Issue
Block a user