Exemple #1
0
 public virtual int FillPage(RAD1SPOLDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1SPOLSet = dataSet;
     try
     {
         this.LoadChildRad1spol(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Exemple #2
0
 public virtual bool FillByRAD1SPOLID(RAD1SPOLDataSet dataSet, int rAD1SPOLID)
 {
     this.InitializeMembers();
     this.connDefault            = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.RAD1SPOLSet            = dataSet;
     this.rowRAD1SPOL            = this.RAD1SPOLSet.RAD1SPOL.NewRAD1SPOLRow();
     this.rowRAD1SPOL.RAD1SPOLID = rAD1SPOLID;
     try
     {
         this.LoadByRAD1SPOLID(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound283 == 0)
     {
         return(false);
     }
     return(true);
 }
Exemple #3
0
 public virtual int Fill(RAD1SPOLDataSet dataSet)
 {
     if (this.fillDataParameters != null)
     {
         this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()));
     }
     else
     {
         try
         {
             this.InitializeMembers();
             this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
             this.RAD1SPOLSet = dataSet;
             this.LoadChildRad1spol(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }