mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-25 12:12:51 +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);
|
|
}
|
|
} |