Remove redundant operation parameter binding
This commit is contained in:
		
							parent
							
								
									ae0131086e
								
							
						
					
					
						commit
						38d8781734
					
				@ -275,10 +275,6 @@ internal class EntityStorage<TEntity> : IAsyncEnumerable<TEntity>, IStorage<TEnt
 | 
			
		||||
		 */
 | 
			
		||||
		if (recordsAffected == 0 && args.Operation.Concurrency == DataConcurrencyMode.Enabled)
 | 
			
		||||
			throw new DBConcurrencyException($"{SR.ErrDataConcurrency} ({typeof(Entity).Name})");
 | 
			
		||||
		/*
 | 
			
		||||
		 * Bind storage parameters with operation parameters.
 | 
			
		||||
		 */
 | 
			
		||||
		ReturnValueBinder.Bind(writer.Operation, args.Operation);
 | 
			
		||||
 | 
			
		||||
		return recordsAffected;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user