AfterSave() public method

public AfterSave ( ) : void
return void
Beispiel #1
0
 private void OpenAndSave(SaveWorkState saveWorkState)
 {
     OpenDbConnection(); // ensure connection is available for BeforeSaveEntities
     saveWorkState.BeforeSave();
     SaveChangesCore(saveWorkState);
     saveWorkState.AfterSave();
 }
 private void OpenAndSave(SaveWorkState saveWorkState) {
   
   OpenDbConnection();    // ensure connection is available for BeforeSaveEntities
   saveWorkState.BeforeSave();
   SaveChangesCore(saveWorkState);
   saveWorkState.AfterSave();
 }