2022-09-06 17:00:31 +08:00

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);
}
}