FreeSql/FreeSql.Repository/FreeSqlRepositoryExtensions.cs
2022-09-02 16:14:48 +08:00

12 lines
326 B
C#

using FreeSql;
using System;
using System.Linq;
using System.Linq.Expressions;
public static class FreeSqlRepositoryExtensions
{
public static IBaseRepository<TEntity> GetAggregateRootRepository<TEntity>(this IFreeSql that) where TEntity : class
{
return new AggregateRootRepository<TEntity>(that);
}
}