private KeyData DoDeleteAction(IInputData input) { DefaultUpdateAction(input); DataRow row = MainRow; KeyData result = MainResolver.CreateKeyData(row); MainResolver.Delete(input); Commit(input); return(result); }
private OutputData DoPost(IInputData input) { PreparePostObject(input); switch (input.Style.Style) { case PageStyle.Insert: DefaultInsertAction(input); break; case PageStyle.Update: DefaultUpdateAction(input); break; default: TkDebug.ThrowImpossibleCode(this); break; } PostData(input); Commit(input); return(OutputData.CreateToolkitObject(MainResolver.CreateKeyData())); }