public virtual int FillPage(BLGVRSTEDOKDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.BLGVRSTEDOKSet = dataSet; try { this.LoadChildBlgvrstedok(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDBLGVRSTEDOK(BLGVRSTEDOKDataSet dataSet, int iDBLGVRSTEDOK) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.BLGVRSTEDOKSet = dataSet; this.rowBLGVRSTEDOK = this.BLGVRSTEDOKSet.BLGVRSTEDOK.NewBLGVRSTEDOKRow(); this.rowBLGVRSTEDOK.IDBLGVRSTEDOK = iDBLGVRSTEDOK; try { this.LoadByIDBLGVRSTEDOK(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound183 == 0) { return(false); } return(true); }
public virtual int Fill(BLGVRSTEDOKDataSet 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.BLGVRSTEDOKSet = dataSet; this.LoadChildBlgvrstedok(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }