mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-30 14:32:50 +08:00
20 lines
451 B
C#
20 lines
451 B
C#
using System;
|
|
using System.Linq.Expressions;
|
|
|
|
namespace FreeSql
|
|
{
|
|
public class GuidRepository<TEntity> :
|
|
BaseRepository<TEntity, Guid>
|
|
where TEntity : class
|
|
{
|
|
|
|
public GuidRepository(IFreeSql fsql) : this(fsql, null, null)
|
|
{
|
|
|
|
}
|
|
public GuidRepository(IFreeSql fsql, Expression<Func<TEntity, bool>> filter, Func<string, string> asTable) : base(fsql, filter, asTable)
|
|
{
|
|
}
|
|
}
|
|
}
|