Exemple #1
0
 public virtual int FillPage(VRSTAELEMENTDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.VRSTAELEMENTSet = dataSet;
     try
     {
         this.LoadChildVrstaelement(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Exemple #2
0
 public virtual bool FillByIDVRSTAELEMENTA(VRSTAELEMENTDataSet dataSet, short iDVRSTAELEMENTA)
 {
     this.InitializeMembers();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.VRSTAELEMENTSet = dataSet;
     this.rowVRSTAELEMENT = this.VRSTAELEMENTSet.VRSTAELEMENT.NewVRSTAELEMENTRow();
     this.rowVRSTAELEMENT.IDVRSTAELEMENTA = iDVRSTAELEMENTA;
     try
     {
         this.LoadByIDVRSTAELEMENTA(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound55 == 0)
     {
         return(false);
     }
     return(true);
 }
Exemple #3
0
 public virtual int Fill(VRSTAELEMENTDataSet dataSet)
 {
     if (this.fillDataParameters != null)
     {
         this.Fill(dataSet, short.Parse(this.fillDataParameters[0].Value.ToString()));
     }
     else
     {
         try
         {
             this.InitializeMembers();
             this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
             this.VRSTAELEMENTSet = dataSet;
             this.LoadChildVrstaelement(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }