mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	v3.2.667 #1237
This commit is contained in:
		@@ -0,0 +1,12 @@
 | 
			
		||||
using FreeSql;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Linq.Expressions;
 | 
			
		||||
 | 
			
		||||
public static class FreeSqlAggregateRootRepositoryGlobalExtensions
 | 
			
		||||
{
 | 
			
		||||
    public static IBaseRepository<TEntity> GetAggregateRootRepository<TEntity>(this IFreeSql that) where TEntity : class
 | 
			
		||||
    {
 | 
			
		||||
        return new AggregateRootRepository<TEntity>(that);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user