Base solution for your next web application
Open Closed

1 DBContext or 2? #2093


User avatar
0
alas created

Are we supposed to add our own entities to the DBContext provided in the base app, or is it best practice to create a 2nd context for our business entities?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    If you dont't have any special reason, you can add it to provided dbContext because it's easier to develop.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)