protected override bool UpdateRecord() { Guid modifiedBy = AppContext.UserGuid; DateTime modifiedOn; bool r = AppDAL.AppointmentUpdate(this.mPatientGuid, this.mObjectGuid, this.AppointmentDate, this.AppointmentDescription, modifiedBy, out modifiedOn); if (r) { this.mModifiedByUser = modifiedBy; this.mModifiedOn = modifiedOn; } return(r); }