public virtual int FillPage(RSVRSTEOBRACUNADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RSVRSTEOBRACUNASet = dataSet; try { this.LoadChildRsvrsteobracuna(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDRSVRSTEOBRACUNA(RSVRSTEOBRACUNADataSet dataSet, string iDRSVRSTEOBRACUNA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RSVRSTEOBRACUNASet = dataSet; this.rowRSVRSTEOBRACUNA = this.RSVRSTEOBRACUNASet.RSVRSTEOBRACUNA.NewRSVRSTEOBRACUNARow(); this.rowRSVRSTEOBRACUNA.IDRSVRSTEOBRACUNA = iDRSVRSTEOBRACUNA; try { this.LoadByIDRSVRSTEOBRACUNA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound29 == 0) { return(false); } return(true); }
public virtual int Fill(RSVRSTEOBRACUNADataSet dataSet) { if (this.fillDataParameters != null) { this.Fill(dataSet, this.fillDataParameters[0].Value.ToString()); } else { try { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RSVRSTEOBRACUNASet = dataSet; this.LoadChildRsvrsteobracuna(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }