This commit is contained in:
454313500@qq.com
2021-03-20 15:02:23 +08:00
parent 59a42ae48f
commit 2e5b991db0
7 changed files with 95 additions and 88 deletions

View File

@@ -15,11 +15,10 @@ namespace CC.Yi.BLL
{
CurrentDal = cd;
}
//public abstract void SetCurrentDal();
//public BaseBll()//基类的构造方法
//{
// SetCurrentDal();//该方法由子类去实现
//}
public IQueryable<T> GetAllEntities()
{
return CurrentDal.GetAllEntities();
}
public IQueryable<T> GetEntities(Expression<Func<T, bool>> whereLambda)
{