public virtual int FillPage(OSRAZMJESTAJDataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OSRAZMJESTAJSet = dataSet; try { this.LoadChildOsrazmjestaj(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual int FillPageByINVBROJ(OSRAZMJESTAJDataSet dataSet, long iNVBROJ, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OSRAZMJESTAJSet = dataSet; this.rowOSRAZMJESTAJ = this.OSRAZMJESTAJSet.OSRAZMJESTAJ.NewOSRAZMJESTAJRow(); this.rowOSRAZMJESTAJ.INVBROJ = iNVBROJ; try { this.LoadByINVBROJ(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual int FillByIDLOKACIJE(OSRAZMJESTAJDataSet dataSet, int iDLOKACIJE) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OSRAZMJESTAJSet = dataSet; this.rowOSRAZMJESTAJ = this.OSRAZMJESTAJSet.OSRAZMJESTAJ.NewOSRAZMJESTAJRow(); this.rowOSRAZMJESTAJ.IDLOKACIJE = iDLOKACIJE; try { this.LoadByIDLOKACIJE(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByIDOSRAZMJESTAJ(OSRAZMJESTAJDataSet dataSet, Guid iDOSRAZMJESTAJ) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OSRAZMJESTAJSet = dataSet; this.rowOSRAZMJESTAJ = this.OSRAZMJESTAJSet.OSRAZMJESTAJ.NewOSRAZMJESTAJRow(); this.rowOSRAZMJESTAJ.IDOSRAZMJESTAJ = iDOSRAZMJESTAJ; try { this.LoadByIDOSRAZMJESTAJ(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound279 == 0) { return(false); } return(true); }
public virtual int Fill(OSRAZMJESTAJDataSet dataSet) { if (this.fillDataParameters != null) { Guid iDOSRAZMJESTAJ = new Guid(this.fillDataParameters[0].Value.ToString()); this.Fill(dataSet, iDOSRAZMJESTAJ); } else { try { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.OSRAZMJESTAJSet = dataSet; this.LoadChildOsrazmjestaj(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }