示例#1
0
 public virtual int FillPage(DDIZDATAKDataSet dataSet, int startRow, int maxRows)
 {
     this.InitializeMembers();
     this.connDefault  = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.DDIZDATAKSet = dataSet;
     try
     {
         this.LoadChildDdizdatak(startRow, maxRows);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
示例#2
0
 public virtual bool FillByDDIDIZDATAK(DDIZDATAKDataSet dataSet, int dDIDIZDATAK)
 {
     this.InitializeMembers();
     this.connDefault              = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.DDIZDATAKSet             = dataSet;
     this.rowDDIZDATAK             = this.DDIZDATAKSet.DDIZDATAK.NewDDIZDATAKRow();
     this.rowDDIZDATAK.DDIDIZDATAK = dDIDIZDATAK;
     try
     {
         this.LoadByDDIDIZDATAK(0, -1);
         dataSet.AcceptChanges();
     }
     finally
     {
         this.Cleanup();
     }
     if (this.RcdFound163 == 0)
     {
         return(false);
     }
     return(true);
 }
示例#3
0
 public virtual int Fill(DDIZDATAKDataSet 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.DDIZDATAKSet = dataSet;
             this.LoadChildDdizdatak(0, -1);
             dataSet.AcceptChanges();
         }
         finally
         {
             this.Cleanup();
         }
     }
     return(0);
 }