예제 #1
0
        protected override bool InsertRecord()
        {
            Guid     createdBy = AppContext.UserGuid;
            DateTime CreatedOn;

            bool r = AppDAL.AppointmentInsert(this.mPatientGuid, this.mObjectGuid, this.AppointmentDate, this.AppointmentDescription, createdBy, out CreatedOn);

            if (r)
            {
                this.mCreatedByUser  = createdBy;
                this.mCreatedOn      = CreatedOn;
                this.mModifiedByUser = createdBy;
                this.mModifiedOn     = CreatedOn;
            }
            return(r);
        }