protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == AdIdColumn) OnAdIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == YearColumn) OnYearChanged((Int32?)oldValue, (Int32?)newValue); else if (column == DateAddedColumn) OnDateAddedChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == AdTypeColumn) OnAdTypeChanged((String)oldValue, (String)newValue); else if (column == ExternalIdColumn) OnExternalIdChanged((Int32?)oldValue, (Int32?)newValue); else if (column == CommentsColumn) OnCommentsChanged((String)oldValue, (String)newValue); }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == StagedPaymentIdColumn) OnStagedPaymentIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == StagedPersonColumn) OnStagedPersonChanged((StagedPerson)oldValue, (StagedPerson)newValue); else if (column == DateColumn) OnDateChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == MethodColumn) OnMethodChanged((String)oldValue, (String)newValue); else if (column == CheckNumberColumn) OnCheckNumberChanged((String)oldValue, (String)newValue); else if (column == AccountColumn) OnAccountChanged((String)oldValue, (String)newValue); else if (column == AmountColumn) OnAmountChanged((Decimal?)oldValue, (Decimal?)newValue); else if (column == CommentsColumn) OnCommentsChanged((String)oldValue, (String)newValue); else if (column == ExternalIdColumn) OnExternalIdChanged((String)oldValue, (String)newValue); else if (column == CompanyColumn) OnCompanyChanged((String)oldValue, (String)newValue); }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == StagedPersonIdColumn) OnStagedPersonIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PersonColumn) OnPersonChanged((Person)oldValue, (Person)newValue); else if (column == HisNameColumn) OnHisNameChanged((String)oldValue, (String)newValue); else if (column == HerNameColumn) OnHerNameChanged((String)oldValue, (String)newValue); else if (column == LastNameColumn) OnLastNameChanged((String)oldValue, (String)newValue); else if (column == FullNameColumn) OnFullNameChanged((String)oldValue, (String)newValue); else if (column == AddressColumn) OnAddressChanged((String)oldValue, (String)newValue); else if (column == CityColumn) OnCityChanged((String)oldValue, (String)newValue); else if (column == StateColumn) OnStateChanged((String)oldValue, (String)newValue); else if (column == ZipColumn) OnZipChanged((String)oldValue, (String)newValue); else if (column == PhoneColumn) OnPhoneChanged((String)oldValue, (String)newValue); }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == DepositIdColumn) { ValidateDepositId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateColumn) { ValidateDate((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == NumberColumn) { ValidateNumber((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AccountColumn) { ValidateAccount((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == NameColumn) { ValidateName((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == EmailColumn) { ValidateEmail((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == RandomCodeColumn) { ValidateRandomCode((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ActiveColumn) { ValidateActive((Boolean)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateAddedColumn) { ValidateDateAdded((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == UseHtmlColumn) { ValidateUseHtml((Boolean)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PersonColumn) { ValidatePerson((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == RowIdColumn) { ValidateRowId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == RowIdColumn) { ValidateRowId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == MemberColumn) { ValidateMember((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == RelativeColumn) { ValidateRelative((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == RelationTypeColumn) { ValidateRelationType((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == IdColumn) { ValidateId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PledgeColumn) { ValidatePledge((Pledge)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == MensSeatsColumn) { ValidateMensSeats((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == WomensSeatsColumn) { ValidateWomensSeats((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == BoysSeatsColumn) { ValidateBoysSeats((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == GirlsSeatsColumn) { ValidateGirlsSeats((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == NotesColumn) { ValidateNotes((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == RowIdColumn) OnRowIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == RecipientColumn) OnRecipientChanged((MelaveMalkaInvitation)oldValue, (MelaveMalkaInvitation)newValue); else if (column == DateColumn) OnDateChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == EmailSubjectColumn) OnEmailSubjectChanged((String)oldValue, (String)newValue); else if (column == EmailSourceColumn) OnEmailSourceChanged((String)oldValue, (String)newValue); }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == RowIdColumn) { ValidateRowId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PersonColumn) { ValidatePerson((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == YearColumn) { ValidateYear((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == SourceColumn) { ValidateSource((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateAddedColumn) { ValidateDateAdded((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ShouldCallColumn) { ValidateShouldCall((Boolean)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CallerColumn) { ValidateCaller((Caller)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CallerNoteColumn) { ValidateCallerNote((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ShouldEmailColumn) { ValidateShouldEmail((Boolean)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == EmailSubjectColumn) { ValidateEmailSubject((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == EmailSourceColumn) { ValidateEmailSource((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == RowIdColumn) { ValidateRowId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == YearColumn) { ValidateYear((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AdDeadlineColumn) { ValidateAdDeadline((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == MelaveMalkaDateColumn) { ValidateMelaveMalkaDate((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == HonoreeColumn) { ValidateHonoree((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == SpeakerColumn) { ValidateSpeaker((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == HonoreeTitleColumn) { ValidateHonoreeTitle((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == Honoree2Column) { ValidateHonoree2((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == Honoree2TitleColumn) { ValidateHonoree2Title((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == RowIdColumn) OnRowIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == YearColumn) OnYearChanged((Int32?)oldValue, (Int32?)newValue); else if (column == AdDeadlineColumn) OnAdDeadlineChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == MelaveMalkaDateColumn) OnMelaveMalkaDateChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == HonoreeColumn) OnHonoreeChanged((Person)oldValue, (Person)newValue); else if (column == SpeakerColumn) OnSpeakerChanged((String)oldValue, (String)newValue); else if (column == HonoreeTitleColumn) OnHonoreeTitleChanged((String)oldValue, (String)newValue); else if (column == Honoree2Column) OnHonoree2Changed((Person)oldValue, (Person)newValue); else if (column == Honoree2TitleColumn) OnHonoree2TitleChanged((String)oldValue, (String)newValue); }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == RowIdColumn) { ValidateRowId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == RecipientColumn) { ValidateRecipient((MelaveMalkaInvitation)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateColumn) { ValidateDate((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == EmailSubjectColumn) { ValidateEmailSubject((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == EmailSourceColumn) { ValidateEmailSource((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == IdColumn) OnIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PersonColumn) OnPersonChanged((Person)oldValue, (Person)newValue); else if (column == DateGeneratedColumn) OnDateGeneratedChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == MediaColumn) OnMediaChanged((String)oldValue, (String)newValue); else if (column == StatementKindColumn) OnStatementKindChanged((String)oldValue, (String)newValue); else if (column == StartDateColumn) OnStartDateChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == EndDateColumn) OnEndDateChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == UserNameColumn) OnUserNameChanged((String)oldValue, (String)newValue); }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == IdColumn) { ValidateId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PersonColumn) { ValidatePerson((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateGeneratedColumn) { ValidateDateGenerated((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == MediaColumn) { ValidateMedia((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == StatementKindColumn) { ValidateStatementKind((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == StartDateColumn) { ValidateStartDate((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == EndDateColumn) { ValidateEndDate((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == UserNameColumn) { ValidateUserName((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == RowIdColumn) { ValidateRowId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PersonColumn) { ValidatePerson((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateAddedColumn) { ValidateDateAdded((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == YearColumn) { ValidateYear((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == TicketIdColumn) { ValidateTicketId((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PaidColumn) { ValidatePaid((Boolean)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CommentsColumn) { ValidateComments((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == RowIdColumn) OnRowIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PersonColumn) OnPersonChanged((Person)oldValue, (Person)newValue); else if (column == YearColumn) OnYearChanged((Int32?)oldValue, (Int32?)newValue); else if (column == SourceColumn) OnSourceChanged((String)oldValue, (String)newValue); else if (column == DateAddedColumn) OnDateAddedChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == ShouldCallColumn) OnShouldCallChanged((Boolean?)oldValue, (Boolean?)newValue); else if (column == CallerColumn) OnCallerChanged((Caller)oldValue, (Caller)newValue); else if (column == CallerNoteColumn) OnCallerNoteChanged((String)oldValue, (String)newValue); else if (column == ShouldEmailColumn) OnShouldEmailChanged((Boolean?)oldValue, (Boolean?)newValue); else if (column == EmailSubjectColumn) OnEmailSubjectChanged((String)oldValue, (String)newValue); else if (column == EmailSourceColumn) OnEmailSourceChanged((String)oldValue, (String)newValue); }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == RowIdColumn) OnRowIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PersonColumn) OnPersonChanged((Person)oldValue, (Person)newValue); else if (column == DateAddedColumn) OnDateAddedChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == YearColumn) OnYearChanged((Int32?)oldValue, (Int32?)newValue); else if (column == TicketIdColumn) OnTicketIdChanged((Int32?)oldValue, (Int32?)newValue); else if (column == PaidColumn) OnPaidChanged((Boolean?)oldValue, (Boolean?)newValue); else if (column == CommentsColumn) OnCommentsChanged((String)oldValue, (String)newValue); }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == IdColumn) OnIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == YKIDColumn) OnYKIDChanged((Int32?)oldValue, (Int32?)newValue); else if (column == LastNameColumn) OnLastNameChanged((String)oldValue, (String)newValue); else if (column == HisNameColumn) OnHisNameChanged((String)oldValue, (String)newValue); else if (column == HerNameColumn) OnHerNameChanged((String)oldValue, (String)newValue); else if (column == FullNameColumn) OnFullNameChanged((String)oldValue, (String)newValue); else if (column == AddressColumn) OnAddressChanged((String)oldValue, (String)newValue); else if (column == CityColumn) OnCityChanged((String)oldValue, (String)newValue); else if (column == StateColumn) OnStateChanged((String)oldValue, (String)newValue); else if (column == ZipColumn) OnZipChanged((String)oldValue, (String)newValue); else if (column == PhoneColumn) OnPhoneChanged((String)oldValue, (String)newValue); else if (column == SourceColumn) OnSourceChanged((String)oldValue, (String)newValue); else if (column == SalutationColumn) OnSalutationChanged((String)oldValue, (String)newValue); }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == RowIdColumn) OnRowIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == MemberColumn) OnMemberChanged((Person)oldValue, (Person)newValue); else if (column == RelativeColumn) OnRelativeChanged((Person)oldValue, (Person)newValue); else if (column == RelationTypeColumn) OnRelationTypeChanged((String)oldValue, (String)newValue); }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == PledgeIdColumn) { ValidatePledgeId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PersonColumn) { ValidatePerson((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateColumn) { ValidateDate((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == TypeColumn) { ValidateType((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == SubTypeColumn) { ValidateSubType((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AccountColumn) { ValidateAccount((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AmountColumn) { ValidateAmount((Decimal)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == NoteColumn) { ValidateNote((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CommentsColumn) { ValidateComments((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ModifiedColumn) { ValidateModified((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ModifierColumn) { ValidateModifier((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ExternalSourceColumn) { ValidateExternalSource((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ExternalIdColumn) { ValidateExternalId((Int32?)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == IdColumn) OnIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PledgeColumn) OnPledgeChanged((Pledge)oldValue, (Pledge)newValue); else if (column == MensSeatsColumn) OnMensSeatsChanged((Int32?)oldValue, (Int32?)newValue); else if (column == WomensSeatsColumn) OnWomensSeatsChanged((Int32?)oldValue, (Int32?)newValue); else if (column == BoysSeatsColumn) OnBoysSeatsChanged((Int32?)oldValue, (Int32?)newValue); else if (column == GirlsSeatsColumn) OnGirlsSeatsChanged((Int32?)oldValue, (Int32?)newValue); else if (column == NotesColumn) OnNotesChanged((String)oldValue, (String)newValue); }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == PledgeIdColumn) OnPledgeIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PersonColumn) OnPersonChanged((Person)oldValue, (Person)newValue); else if (column == DateColumn) OnDateChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == TypeColumn) OnTypeChanged((String)oldValue, (String)newValue); else if (column == SubTypeColumn) OnSubTypeChanged((String)oldValue, (String)newValue); else if (column == AccountColumn) OnAccountChanged((String)oldValue, (String)newValue); else if (column == AmountColumn) OnAmountChanged((Decimal?)oldValue, (Decimal?)newValue); else if (column == NoteColumn) OnNoteChanged((String)oldValue, (String)newValue); else if (column == CommentsColumn) OnCommentsChanged((String)oldValue, (String)newValue); else if (column == ModifiedColumn) OnModifiedChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == ModifierColumn) OnModifierChanged((String)oldValue, (String)newValue); else if (column == ExternalSourceColumn) OnExternalSourceChanged((String)oldValue, (String)newValue); else if (column == ExternalIdColumn) OnExternalIdChanged((Int32?)oldValue, (Int32?)newValue); }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == DepositIdColumn) OnDepositIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == DateColumn) OnDateChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == NumberColumn) OnNumberChanged((Int32?)oldValue, (Int32?)newValue); else if (column == AccountColumn) OnAccountChanged((String)oldValue, (String)newValue); }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == LinkIdColumn) { ValidateLinkId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PledgeColumn) { ValidatePledge((Pledge)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PaymentColumn) { ValidatePayment((Payment)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AmountColumn) { ValidateAmount((Decimal)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == StagedPaymentIdColumn) { ValidateStagedPaymentId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == StagedPersonColumn) { ValidateStagedPerson((StagedPerson)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateColumn) { ValidateDate((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == MethodColumn) { ValidateMethod((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CheckNumberColumn) { ValidateCheckNumber((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AccountColumn) { ValidateAccount((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AmountColumn) { ValidateAmount((Decimal)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CommentsColumn) { ValidateComments((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ExternalIdColumn) { ValidateExternalId((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CompanyColumn) { ValidateCompany((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == LinkIdColumn) OnLinkIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PledgeColumn) OnPledgeChanged((Pledge)oldValue, (Pledge)newValue); else if (column == PaymentColumn) OnPaymentChanged((Payment)oldValue, (Payment)newValue); else if (column == AmountColumn) OnAmountChanged((Decimal?)oldValue, (Decimal?)newValue); }
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == StagedPersonIdColumn) { ValidateStagedPersonId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PersonColumn) { ValidatePerson((Person)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == HisNameColumn) { ValidateHisName((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == HerNameColumn) { ValidateHerName((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == LastNameColumn) { ValidateLastName((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == FullNameColumn) { ValidateFullName((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AddressColumn) { ValidateAddress((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CityColumn) { ValidateCity((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == StateColumn) { ValidateState((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ZipColumn) { ValidateZip((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == PhoneColumn) { ValidatePhone((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }
protected override void OnValueChanged(Column column, object oldValue, object newValue) { base.OnValueChanged(column, oldValue, newValue); OnColumnChanged(column, oldValue, newValue); if (column == RowIdColumn) OnRowIdChanged((Guid?)oldValue, (Guid?)newValue); else if (column == PersonColumn) OnPersonChanged((Person)oldValue, (Person)newValue); else if (column == DateAddedColumn) OnDateAddedChanged((DateTime?)oldValue, (DateTime?)newValue); else if (column == YearColumn) OnYearChanged((Int32?)oldValue, (Int32?)newValue); }
partial void OnColumnChanged(Column column, object oldValue, object newValue);
public override string ValidateValue(Column column, object newValue) { string error = base.ValidateValue(column, newValue); if (!String.IsNullOrEmpty(error)) return error; Action<string> reporter = s => error = s; if (column == AdIdColumn) { ValidateAdId((Guid)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == YearColumn) { ValidateYear((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == DateAddedColumn) { ValidateDateAdded((DateTime)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == AdTypeColumn) { ValidateAdType((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == ExternalIdColumn) { ValidateExternalId((Int32)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } else if (column == CommentsColumn) { ValidateComments((String)newValue, reporter); if (!String.IsNullOrEmpty(error)) return error; } return null; }