mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			345 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			345 B
		
	
	
	
		
			C#
		
	
	
	
	
	
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);
 | 
						|
    }
 | 
						|
} |