Created
December 30, 2020 21:30
-
-
Save JIOO-phoeNIX/627b0f130a760f3013490eb54ba9f8f1 to your computer and use it in GitHub Desktop.
This file contains 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 GraphQLSampleApp.DataAccess.Entity | |
{ | |
public class SampleAppDbContext : DbContext | |
{ | |
public SampleAppDbContext(DbContextOptions<SampleAppDbContext> options) : base(options) | |
{ | |
} | |
public DbSet<Employee> Employee { get; set; } | |
public DbSet<Department> Department { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment