出现这个问题的可能原因是:
private readonly Repository<IPC_D_PersonBaseInfoEntity> personRep = new Repository<IPC_D_PersonBaseInfoEntity>();
private readonly Repository<IPC_D_EducationExperienceEntity> eduRep = new Repository<IPC_D_EducationExperienceEntity>();
本来代码中应该用personRep,调错了,写成了eduRep ;
error:该操作无法完成,因为DbContext已被释放
最新推荐文章于 2023-05-08 22:30:18 发布