public virtual int FillPage(MJESTOTROSKADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.MJESTOTROSKASet = dataSet; try { this.LoadChildMjestotroska(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDMJESTOTROSKA(MJESTOTROSKADataSet dataSet, int iDMJESTOTROSKA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.MJESTOTROSKASet = dataSet; this.rowMJESTOTROSKA = this.MJESTOTROSKASet.MJESTOTROSKA.NewMJESTOTROSKARow(); this.rowMJESTOTROSKA.IDMJESTOTROSKA = iDMJESTOTROSKA; try { this.LoadByIDMJESTOTROSKA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound190 == 0) { return(false); } return(true); }
public virtual int Fill(MJESTOTROSKADataSet 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.MJESTOTROSKASet = dataSet; this.LoadChildMjestotroska(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }