public virtual int FillPage(BOLOVANJEFONDDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.BOLOVANJEFONDSet = dataSet; try { this.LoadChildBolovanjefond(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByELEMENTBOLOVANJEIDELEMENT(BOLOVANJEFONDDataSet dataSet, int eLEMENTBOLOVANJEIDELEMENT) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.BOLOVANJEFONDSet = dataSet; this.rowBOLOVANJEFOND = this.BOLOVANJEFONDSet.BOLOVANJEFOND.NewBOLOVANJEFONDRow(); this.rowBOLOVANJEFOND.ELEMENTBOLOVANJEIDELEMENT = eLEMENTBOLOVANJEIDELEMENT; try { this.LoadByELEMENTBOLOVANJEIDELEMENT(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound135 == 0) { return(false); } return(true); }
public virtual int Fill(BOLOVANJEFONDDataSet 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.BOLOVANJEFONDSet = dataSet; this.LoadChildBolovanjefond(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }