EF6中多个DbContext使用Code-First
摘要:因为有时候根据项目的不同,可能会需要多个库来保存数据。之前使用code-first都是根据单个数据库来生成,为此百度了一番之后,找到了这篇文章通过Migration在EF6中用多个DbContext 为此记录一下。 Enable-Migrations -ContextTypeName AbpFram
阅读全文
posted @ 2020-11-09 15:35
posted @ 2020-11-09 15:35