mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 05:13:27 +08:00
Add Update List
This commit is contained in:
parent
a7ab7c69eb
commit
094400bcf8
@ -284,6 +284,11 @@ namespace SqlSugar
|
|||||||
UpdateableProvider<T> reval = base.CreateUpdateable(UpdateObjs);
|
UpdateableProvider<T> reval = base.CreateUpdateable(UpdateObjs);
|
||||||
return reval;
|
return reval;
|
||||||
}
|
}
|
||||||
|
public virtual IUpdateable<T> Updateable<T>(List<T> UpdateObjs) where T : class, new()
|
||||||
|
{
|
||||||
|
Check.ArgumentNullException(UpdateObjs, "Updateable.UpdateObjs can't be null");
|
||||||
|
return Updateable(UpdateObjs.ToArray());
|
||||||
|
}
|
||||||
public virtual IUpdateable<T> Updateable<T>(T UpdateObj) where T : class, new()
|
public virtual IUpdateable<T> Updateable<T>(T UpdateObj) where T : class, new()
|
||||||
{
|
{
|
||||||
return this.Updateable(new T[] { UpdateObj });
|
return this.Updateable(new T[] { UpdateObj });
|
||||||
|
Loading…
Reference in New Issue
Block a user