Exemple #1
0
 protected override void DisposeCore()
 {
     if (dbContext != null)
     {
         dbContext.Dispose();
     }
 }
Exemple #2
0
 public void Dispose()
 {
     if (dbContext != null)
     {
         dbContext.Dispose();
     }
 }
Exemple #3
0
 protected override void DisposeCore()
 {
     //base.DisposeCore();
     if (null != dbContext)
     {
         dbContext.Dispose();
     }
 }
Exemple #4
0
 protected override void DisposeCore()
 {
     dbContext?.Dispose();
 }