Пример #1
0
 protected void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (context != null)
         {
             context.Dispose();
             context = null;
         }
     }
 }
Пример #2
0
 public CustomerRepository(TestProjectContext context)
 {
     this.context = context;
 }