摘要:
public interface IGenericRepository where TEntity : class { IQueryable GetAll(); IQueryable FindBy(Expression> predicate); void Add(TEntity entity); void Delete(TEntity entity); void Edit(TEntity entity); void Save(); } public class GenericRe... 阅读全文