Created
April 18, 2019 15:38
-
-
Save gnzandrs/504d3f6676828f701a9271b1a879a7ab to your computer and use it in GitHub Desktop.
data base context class for dotnet core
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.EntityFrameworkCore; | |
namespace DotNetApi.Models | |
{ | |
public class dbContext : DbContext | |
{ | |
public dbContext(DbContextOptions<dbContext> options) | |
: base(options) | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment