Beispiel #1
0
 public virtual int FillPage(GOOBRACUNDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault  = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.GOOBRACUNSet = dataSet;
     try
     {
         this.LoadChildGoobracun(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Beispiel #2
0
 public virtual int FillPageByIDRADNIK(GOOBRACUNDataSet dataSet, int iDRADNIK, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault           = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.GOOBRACUNSet          = dataSet;
     this.rowGOOBRACUN          = this.GOOBRACUNSet.GOOBRACUN.NewGOOBRACUNRow();
     this.rowGOOBRACUN.IDRADNIK = iDRADNIK;
     try
     {
         this.LoadByIDRADNIK(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Beispiel #3
0
 public virtual bool FillByIDGOOBRACUN(GOOBRACUNDataSet dataSet, int iDGOOBRACUN)
 {
     this.InitializeMembers();
     this.connDefault              = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.GOOBRACUNSet             = dataSet;
     this.rowGOOBRACUN             = this.GOOBRACUNSet.GOOBRACUN.NewGOOBRACUNRow();
     this.rowGOOBRACUN.IDGOOBRACUN = iDGOOBRACUN;
     try
     {
         this.LoadByIDGOOBRACUN(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound257 == 0)
     {
         return(false);
     }
     return(true);
 }
Beispiel #4
0
 public virtual int Fill(GOOBRACUNDataSet 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.GOOBRACUNSet = dataSet;
             this.LoadChildGoobracun(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }