62,046
社区成员
发帖
与我相关
我的任务
分享
public interface IBaseRepository<T> where T:class,new()
{
T AddEntity(T entity);
bool UpdateEntity(T entity);
bool DeleteEntity(T entity);
IQueryable<T> LoadEntities(Func<T, bool> whereLambda);
IQueryable<T> LoadPageEntities<S>(int pageIndex, int pageSize, out int total, Func<T, bool> whereLambda, bool isAsc, Func<T, S> orderByLambda);
}
public interface IUserInfoRepository :IBaseRepository<UserInfo>
{
}