public override void Initialize() { base.Initialize(); this._ReceivedDate = ""; this._SendDate = ""; this._ActivityDescription = ""; this._ActivityOrderDesc = ""; this._ReminderDate = ""; this._PercentOfDevelop = 0; this._CurrentWorker = new Worker(); this._PriorityType = ActivityPriorityType.OutOfValue; this._PreviousActivity = new Activity(); this._PrevRejectedActivity = new Activity(); this._CoWorkGroup = new WorkGroup(); this._ActionType = ActivityActionType.OutOfValue; this._IsViewed = SbnBoolean.OutOfValue; this._CoFolder = new Folder(); this._IsHidden = SbnBoolean.OutOfValue; this._CoDocument = new Document(); this._ComplementInfo = new ActivityComplementInfo(); this._ArchiveStatus = ActivityArchiveStatus.OutOfValue; this._CoDocumentType = new DocumentType(); this._CoTask = new Task(); this._HasReminderFlag = SbnBoolean.OutOfValue; this._Attachments = new WMCAttachments(); this._CoPlace = new WFPlace(); this._CoWC = new WorkContext(); }
public override object Clone(string sNodeName) { WMCAttachments Col = new WMCAttachments(); foreach (WMCAttachment objMember in this) { Col.Add((WMCAttachment)objMember.Clone(sNodeName)); } return(Col); }