/// <summary> /// This is what we care about. If there is a new ConsumerTrustSettlement then we know that it has been approved /// </summary> /// <param name="sender"></param> /// <param name="consumerTrustRowChangeEventArgs"></param> void OnConsumerTrustSettlementRowChanged(object sender, ConsumerTrustSettlementRowChangeEventArgs consumerTrustRowChangeEventArgs) { //HACK ***** We only care about addition at this point. Delete will be handled later if (consumerTrustRowChangeEventArgs.Action == DataRowAction.Commit) { //get the settlementId before the row has a chance to go away Guid settlementId = (Guid)consumerTrustRowChangeEventArgs.Row[DataModel.ConsumerTrustSettlement.ConsumerTrustNegotiationIdColumn, DataRowVersion.Current]; this.actionQueue.Enqueue(new ObjectAction(SettlementRowAddProc, new Object[] { settlementId, consumerTrustRowChangeEventArgs, null })); } }
void ConsumerTrustSettlement_ConsumerTrustSettlementRowChanged(object sender, ConsumerTrustSettlementRowChangeEventArgs e) { throw new NotImplementedException(); }
/// <summary> /// Handles a change to the ConsumerTrustSettlementRow table. /// </summary> /// <param name="sender">The object that originated the event.</param> /// <param name="e">The event arguments.</param> private void OnConsumerTrustSettlementRowChanged(object sender, ConsumerTrustSettlementRowChangeEventArgs e) { // When the merge is completed, this indicates that the document should be refreshed. this.isDataChanged = true; }