这个错误谁遇到过?

Cannot access a disposed object. A common cause of this error is disposing a context that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling Dispose() on the context, or wrapping the context in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
Object name: 'ApplicationDbContext'.

上一篇:maven 节点之dependencyManagement ,dependencies, distributionManagement认识


下一篇:Spring DI(依赖注入)