Exemple #1
0
 /// <inheritdoc />
 public void Dispose()
 {
     if (dataContext != null)
     {
         dataContext.Dispose();
         dataContext = null;
     }
 }
Exemple #2
0
 /// <inheritdoc />
 public void Dispose()
 {
     if (context != null)
     {
         context.Dispose();
         context = null;
     }
 }