public virtual int FillPage(VALUTEDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.VALUTESet = dataSet; try { this.LoadChildValute(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDVALUTA(VALUTEDataSet dataSet, int iDVALUTA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.VALUTESet = dataSet; this.rowVALUTE = this.VALUTESet.VALUTE.NewVALUTERow(); this.rowVALUTE.IDVALUTA = iDVALUTA; try { this.LoadByIDVALUTA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound39 == 0) { return(false); } return(true); }
public virtual int Fill(VALUTEDataSet 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.VALUTESet = dataSet; this.LoadChildValute(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }