public PatientRecordFlagTO(PatientRecordFlag mdo) { this.id = mdo.Id; this.name = mdo.Name; this.actionId = mdo.ActionId; this.actionName = mdo.ActionName; this.actionTimestamp = mdo.ActionTimestamp; this.noteId = mdo.NoteId; }
public PatientRecordFlagArray(PatientRecordFlag mdo) { if (mdo == null) { this.count = 0; return; } this.flags = new PatientRecordFlagTO[1]; this.flags[0] = new PatientRecordFlagTO(mdo); this.count = 1; }
public PatientRecordFlagArray(PatientRecordFlag[] mdos) { if (mdos == null) { this.count = 0; return; } this.flags = new PatientRecordFlagTO[mdos.Length]; for (int i = 0; i < mdos.Length; i++) { this.flags[i] = new PatientRecordFlagTO(mdos[i]); } this.count = flags.Length; }