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