public virtual int FillPage(BRACNOSTANJEDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.BRACNOSTANJESet = dataSet; try { this.LoadChildBracnostanje(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDBRACNOSTANJE(BRACNOSTANJEDataSet dataSet, int iDBRACNOSTANJE) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.BRACNOSTANJESet = dataSet; this.rowBRACNOSTANJE = this.BRACNOSTANJESet.BRACNOSTANJE.NewBRACNOSTANJERow(); this.rowBRACNOSTANJE.IDBRACNOSTANJE = iDBRACNOSTANJE; try { this.LoadByIDBRACNOSTANJE(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound4 == 0) { return(false); } return(true); }
public virtual int Fill(BRACNOSTANJEDataSet 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.BRACNOSTANJESet = dataSet; this.LoadChildBracnostanje(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }