This commit is contained in:
454313500@qq.com
2021-03-20 21:56:15 +08:00
parent 2e5b991db0
commit 367f8f8830
16 changed files with 240 additions and 50 deletions

View File

@@ -15,7 +15,7 @@ namespace CC.Yi.DALFactory
IstudentDal Data = CallContext.GetData("studentDal") as IstudentDal;
if (Data == null)
{
Data = new studentDal(DbSessionFactory.GetCurrentDbSession().GetDbContent());
Data = new studentDal();
CallContext.SetData("studentDal", Data);
}
return Data;