public virtual int FillPage(ORGDIODataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.ORGDIOSet = dataSet; try { this.LoadChildOrgdio(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDORGDIO(ORGDIODataSet dataSet, int iDORGDIO) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.ORGDIOSet = dataSet; this.rowORGDIO = this.ORGDIOSet.ORGDIO.NewORGDIORow(); this.rowORGDIO.IDORGDIO = iDORGDIO; try { this.LoadByIDORGDIO(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound17 == 0) { return(false); } return(true); }
public virtual int Fill(ORGDIODataSet 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.ORGDIOSet = dataSet; this.LoadChildOrgdio(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }