} //end: Constructor() /// <summary> /// Default constructor for New Empty Studies. /// </summary> public ejpStudy(Guid parentAssignmentId, Guid id, string title, int EJSDatabaseId) { this._metaData = new ejpStudyMetaData(parentAssignmentId, id, title, EJSDatabaseId); this._xpsDocuments = new ObservableCollection <ejpXpsDocument>(); this._knowledgeMaps = new ObservableCollection <ejpKnowledgeMap>(); this._reports = new ObservableCollection <ejpReport>(); //this.AddKnowledgeMap(); //this.AddReport(); }//end: Constructor()
/// <summary> /// Default constructor for New Studies. /// </summary> internal ejpStudy(Guid parentAssignmentId, Guid id, string title, int EJSDatabaseId, string firstXpsDocumentPath, bool XpsExternalToAssignment, Guid xpsDocumentId, string xpsDocumentTitle) { this._metaData = new ejpStudyMetaData(parentAssignmentId, id, title, EJSDatabaseId); this._xpsDocuments = new ObservableCollection <ejpXpsDocument>(); this._knowledgeMaps = new ObservableCollection <ejpKnowledgeMap>(); this._reports = new ObservableCollection <ejpReport>(); this.LoadXpsDocument(firstXpsDocumentPath, xpsDocumentTitle, XpsExternalToAssignment, xpsDocumentId); //this.AddKnowledgeMap(); //this.AddReport(); } //end: Constructor()