mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	解决 SqlServer 批量添加参数最多 2100 个参数
This commit is contained in:
		@@ -43,8 +43,8 @@ namespace FreeSql.Internal.CommonProvider {
 | 
			
		||||
			return this;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		public int ExecuteAffrows() => _orm.Ado.ExecuteNonQuery(_transaction, CommandType.Text, this.ToSql(), _params);
 | 
			
		||||
		public Task<int> ExecuteAffrowsAsync() => _orm.Ado.ExecuteNonQueryAsync(_transaction, CommandType.Text, this.ToSql(), _params);
 | 
			
		||||
		public virtual int ExecuteAffrows() => _orm.Ado.ExecuteNonQuery(_transaction, CommandType.Text, this.ToSql(), _params);
 | 
			
		||||
		public virtual Task<int> ExecuteAffrowsAsync() => _orm.Ado.ExecuteNonQueryAsync(_transaction, CommandType.Text, this.ToSql(), _params);
 | 
			
		||||
		public abstract long ExecuteIdentity();
 | 
			
		||||
		public abstract Task<long> ExecuteIdentityAsync();
 | 
			
		||||
		public abstract List<T1> ExecuteInserted();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user