예제 #1
0
 public virtual int FillPage(OSOBNIODBITAKDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.OSOBNIODBITAKSet = dataSet;
     try
     {
         this.LoadChildOsobniodbitak(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
예제 #2
0
 public virtual bool FillByIDOSOBNIODBITAK(OSOBNIODBITAKDataSet dataSet, int iDOSOBNIODBITAK)
 {
     this.InitializeMembers();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.OSOBNIODBITAKSet = dataSet;
     this.rowOSOBNIODBITAK = this.OSOBNIODBITAKSet.OSOBNIODBITAK.NewOSOBNIODBITAKRow();
     this.rowOSOBNIODBITAK.IDOSOBNIODBITAK = iDOSOBNIODBITAK;
     try
     {
         this.LoadByIDOSOBNIODBITAK(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound19 == 0)
     {
         return(false);
     }
     return(true);
 }
예제 #3
0
 public virtual int Fill(OSOBNIODBITAKDataSet 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.OSOBNIODBITAKSet = dataSet;
             this.LoadChildOsobniodbitak(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }