public virtual int FillPage(DRZAVLJANSTVODataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.DRZAVLJANSTVOSet = dataSet; try { this.LoadChildDrzavljanstvo(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDDRZAVLJANSTVO(DRZAVLJANSTVODataSet dataSet, int iDDRZAVLJANSTVO) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.DRZAVLJANSTVOSet = dataSet; this.rowDRZAVLJANSTVO = this.DRZAVLJANSTVOSet.DRZAVLJANSTVO.NewDRZAVLJANSTVORow(); this.rowDRZAVLJANSTVO.IDDRZAVLJANSTVO = iDDRZAVLJANSTVO; try { this.LoadByIDDRZAVLJANSTVO(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound270 == 0) { return(false); } return(true); }
public virtual int Fill(DRZAVLJANSTVODataSet 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.DRZAVLJANSTVOSet = dataSet; this.LoadChildDrzavljanstvo(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }