You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
449 B
15 lines
449 B
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace ex_042_009_DataSeeding
|
|
{
|
|
class NounoursDBEntities : DbContext
|
|
{
|
|
public DbSet<Nounours> NounoursSet { get; set; }
|
|
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
|
{
|
|
optionsBuilder.UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=ex_042_009_DataSeeding.Nounours.mdf;Trusted_Connection=True;");
|
|
}
|
|
}
|
|
}
|