Created
May 15, 2021 16:47
-
-
Save Chriz76/44434a0ade96360c7655c7068ba23f86 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 UserService.Data | |
{ | |
public class UserServiceContext : DbContext | |
{ | |
public UserServiceContext (DbContextOptions<UserServiceContext> options) | |
: base(options) | |
{ | |
} | |
public DbSet<UserService.Entities.User> User { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment