public virtual int FillPage(STRANEKNJIZENJADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.STRANEKNJIZENJASet = dataSet; try { this.LoadChildStraneknjizenja(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDSTRANEKNJIZENJA(STRANEKNJIZENJADataSet dataSet, int iDSTRANEKNJIZENJA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.STRANEKNJIZENJASet = dataSet; this.rowSTRANEKNJIZENJA = this.STRANEKNJIZENJASet.STRANEKNJIZENJA.NewSTRANEKNJIZENJARow(); this.rowSTRANEKNJIZENJA.IDSTRANEKNJIZENJA = iDSTRANEKNJIZENJA; try { this.LoadByIDSTRANEKNJIZENJA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound215 == 0) { return(false); } return(true); }
public virtual int Fill(STRANEKNJIZENJADataSet 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.STRANEKNJIZENJASet = dataSet; this.LoadChildStraneknjizenja(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }