Esempio n. 1
0
 public ArtistRepository(BindingDemoContext context)
 {
     this._Context = context;
 }
Esempio n. 2
0
 public UnitOfWork()
 {
     Database.SetInitializer<BindingDemoContext>(new BindingDemoInitializer());
     this._Context = new BindingDemoContext();
 }