public void Dispose()
 {
     if (_dataContext != null)
     {
         _dataContext.Dispose();
     }
 }
 public void Dispose()
 {
     if (_context != null)
     {
         _context.Dispose();
     }
 }
 public void Dispose()
 {
     if (_objectContext != null)
     {
         _objectContext.Dispose();
     }
 }
 protected override void Dispose(bool disposing)
 {
     if (_db != null)
     {
         _db.Dispose();
     }
     base.Dispose(disposing);
 }