public virtual int FillPage(UGOVORORADUDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.UGOVORORADUSet = dataSet; try { this.LoadChildUgovororadu(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDUGOVORORADU(UGOVORORADUDataSet dataSet, int iDUGOVORORADU) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.UGOVORORADUSet = dataSet; this.rowUGOVORORADU = this.UGOVORORADUSet.UGOVORORADU.NewUGOVORORADURow(); this.rowUGOVORORADU.IDUGOVORORADU = iDUGOVORORADU; try { this.LoadByIDUGOVORORADU(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound271 == 0) { return(false); } return(true); }
public virtual int Fill(UGOVORORADUDataSet 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.UGOVORORADUSet = dataSet; this.LoadChildUgovororadu(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }