public virtual int FillPage(TIPPARTNERADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.TIPPARTNERASet = dataSet; try { this.LoadChildTippartnera(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDTIPPARTNERA(TIPPARTNERADataSet dataSet, int iDTIPPARTNERA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.TIPPARTNERASet = dataSet; this.rowTIPPARTNERA = this.TIPPARTNERASet.TIPPARTNERA.NewTIPPARTNERARow(); this.rowTIPPARTNERA.IDTIPPARTNERA = iDTIPPARTNERA; try { this.LoadByIDTIPPARTNERA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound160 == 0) { return(false); } return(true); }
public virtual int Fill(TIPPARTNERADataSet 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.TIPPARTNERASet = dataSet; this.LoadChildTippartnera(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }