コード例 #1
0
 /// <summary>
 /// Loads a <see cref="DocListGetter"/> unit of objects, based on given criteria.
 /// </summary>
 /// <param name="docListFilteredCriteria">The fetch criteria.</param>
 protected void DataPortal_Fetch(DocListFilteredCriteria docListFilteredCriteria)
 {
     LoadProperty(DocListProperty, DocList.GetDocList(docListFilteredCriteria));
     LoadProperty(DocClassNVLProperty, DocClassNVL.GetDocClassNVL());
     LoadProperty(DocTypeNVLProperty, DocTypeNVL.GetDocTypeNVL());
     LoadProperty(DocStatusNVLProperty, DocStatusNVL.GetDocStatusNVL());
     LoadProperty(UserNVLProperty, UserNVL.GetUserNVL());
 }
コード例 #2
0
 /// <summary>
 /// Loads a <see cref="DocEditUoWGetter"/> unit of objects, based on given criteria.
 /// </summary>
 /// <param name="docID">The fetch criteria.</param>
 protected void DataPortal_Fetch(int docID)
 {
     LoadProperty(DocProperty, Doc.GetDoc(docID));
     LoadProperty(DocClassNVLProperty, DocClassNVL.GetDocClassNVL());
     LoadProperty(DocTypeNVLProperty, DocTypeNVL.GetDocTypeNVL());
     LoadProperty(DocStatusNVLProperty, DocStatusNVL.GetDocStatusNVL());
     LoadProperty(UserNVLProperty, UserNVL.GetUserNVL());
 }
コード例 #3
0
 /// <summary>
 /// Loads a <see cref="DocListGetter"/> unit of objects.
 /// </summary>
 protected void DataPortal_Fetch()
 {
     LoadProperty(DocListProperty, DocList.GetDocList());
     LoadProperty(DocClassNVLProperty, DocClassNVL.GetDocClassNVL());
     LoadProperty(DocTypeNVLProperty, DocTypeNVL.GetDocTypeNVL());
     LoadProperty(DocStatusNVLProperty, DocStatusNVL.GetDocStatusNVL());
     LoadProperty(UserNVLProperty, UserNVL.GetUserNVL());
 }
コード例 #4
0
 /// <summary>
 /// Creates or loads a <see cref="DocEditGetter"/> unit of objects, based on given criteria.
 /// </summary>
 /// <param name="crit">The create/fetch criteria.</param>
 protected void DataPortal_Fetch(Criteria1 crit)
 {
     if (crit.CreateDoc)
     {
         LoadProperty(DocProperty, Doc.NewDoc());
     }
     else
     {
         LoadProperty(DocProperty, Doc.GetDoc(crit.DocID));
     }
     LoadProperty(DocClassNVLProperty, DocClassNVL.GetDocClassNVL());
     LoadProperty(DocTypeNVLProperty, DocTypeNVL.GetDocTypeNVL());
     LoadProperty(DocStatusNVLProperty, DocStatusNVL.GetDocStatusNVL());
     LoadProperty(UserNVLProperty, UserNVL.GetUserNVL());
 }