Exemplo n.º 1
0
 public static void Main(string[] args)
 {
     using (var ctx = new WaesContext())
     {
         ctx.Database.Migrate();
     }
     CreateWebHostBuilder(args).Build().Run();
 }
Exemplo n.º 2
0
        public void TearDown()
        {
            var ctx = new WaesContext();

            ctx.Entities.RemoveRange(ctx.Entities.Where((e) => e.Id != null));
        }
Exemplo n.º 3
0
 public DiffController()
 {
     context = new WaesContext();
 }
Exemplo n.º 4
0
 public DiffController(WaesContext context)
 {
     this.context = context;
 }