mirror of
				https://gitee.com/dotnetchina/SqlSugar.git
				synced 2025-10-31 16:36:50 +08:00 
			
		
		
		
	Add Update List
This commit is contained in:
		| @@ -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 }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 sunkaixuan
					sunkaixuan