protected override void DisposeCore()
 {
     if (dataContext != null)
     {
         dataContext.Dispose();
     }
 }
Exemple #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
 public void Dispose()
 {
     //liberer l'espace memoire du context
     context.Dispose();
 }
Exemple #4
0
 public void Dispose()
 {
     dataContext.Dispose();
 }