Created
December 9, 2018 13:58
-
-
Save subhendu-de/1e9e3e37ab9aee56868df0e3ee2529b0 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 System; | |
using Microsoft.EntityFrameworkCore; | |
namespace eKart.Api.Model | |
{ | |
public class SQLServerContext: DbContext, IDatasourceContext | |
{ | |
public SQLServerContext(DbContextOptions options):base(options) | |
{} | |
public DbSet Products{get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment