protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
예제 #2
0
 public void Dispose()
 {
     spcontext.Dispose();
     if (profileSyncService != null)
     {
         profileSyncService.Dispose();
     }
 }
 public void Dispose()
 {
     spcontext.Dispose();
 }
예제 #4
0
 public void Dispose()
 {
     spcontext.Dispose();
     farmUserProfileService.Dispose();
 }