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();
 }