mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-05-01 06:42:50 +08:00
21 lines
434 B
C#
21 lines
434 B
C#
using System;
|
|
using System.Linq.Expressions;
|
|
|
|
namespace FreeSql
|
|
{
|
|
public class DefaultRepository<TEntity, TKey> :
|
|
BaseRepository<TEntity, TKey>
|
|
where TEntity : class
|
|
{
|
|
|
|
public DefaultRepository(IFreeSql fsql) : base(fsql, null, null)
|
|
{
|
|
|
|
}
|
|
|
|
public DefaultRepository(IFreeSql fsql, Expression<Func<TEntity, bool>> filter) : base(fsql, filter, null)
|
|
{
|
|
}
|
|
}
|
|
}
|