Exemple #1
0
 public void Dispose()
 {
     if (DataSourcer != null)
     {
         DataSourcer.Dispose();
         DataSourcer = null;
     }
 }
Exemple #2
0
 public void Dispose()
 {
     if (Context != null)
     {
         Context.Dispose();
         Context = null;
     }
     if (Datasourcer != null)
     {
         Datasourcer.Dispose();
         Datasourcer = null;
     }
 }