public virtual int FillPage(TITULADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.TITULASet = dataSet; try { this.LoadChildTitula(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDTITULA(TITULADataSet dataSet, int iDTITULA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.TITULASet = dataSet; this.rowTITULA = this.TITULASet.TITULA.NewTITULARow(); this.rowTITULA.IDTITULA = iDTITULA; try { this.LoadByIDTITULA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound38 == 0) { return(false); } return(true); }
public virtual int Fill(TITULADataSet 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.TITULASet = dataSet; this.LoadChildTitula(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }