mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 增加 IUpdate.WhereCaseSource 方法,实现批量修改时的条件判断;
- 增加 FreeSql.DbContext 行级锁;
This commit is contained in:
		
							
								
								
									
										18
									
								
								FreeSql.DbContext/DbContext/DbContextOptionsBuilder.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								FreeSql.DbContext/DbContext/DbContextOptionsBuilder.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
using Microsoft.Extensions.Caching.Distributed;
 | 
			
		||||
using Microsoft.Extensions.Logging;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Data.Common;
 | 
			
		||||
using System.Text;
 | 
			
		||||
 | 
			
		||||
namespace FreeSql {
 | 
			
		||||
	public class DbContextOptionsBuilder {
 | 
			
		||||
 | 
			
		||||
		internal IFreeSql _fsql;
 | 
			
		||||
 | 
			
		||||
		public DbContextOptionsBuilder UseFreeSql(IFreeSql orm) {
 | 
			
		||||
			_fsql = orm;
 | 
			
		||||
			return this;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user