Пример #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!isDisposed)
     {
         if (disposing)
         {
             context.Dispose();
         }
         isDisposed = true;
     }
 }
 public void Destroy()
 {
     Context.Dispose();
 }