I want my Identity data context (IdentityDbContext<IdentityUser>
) and my regular EF model's data context (DbContext
), to be separate.
Many say to merge them, but I don't see the point. They are very different, at least in my scenario, and I want to decouple them.
When I use initializers for each (CreateAlways, DropCreate, etc.), all works well. But I would like to use migrations for both data contexts - and I can only make it work for one, not both.
What is the secret to this?