public virtual int FillPage(RAD1SPREMEVEZADataSet dataSet, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1SPREMEVEZASet = dataSet; try { this.LoadChildRad1spremeveza(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual int FillPageByRAD1IDSPREME(RAD1SPREMEVEZADataSet dataSet, int rAD1IDSPREME, int startRow, int maxRows) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1SPREMEVEZASet = dataSet; this.rowRAD1SPREMEVEZA = this.RAD1SPREMEVEZASet.RAD1SPREMEVEZA.NewRAD1SPREMEVEZARow(); this.rowRAD1SPREMEVEZA.RAD1IDSPREME = rAD1IDSPREME; try { this.LoadByRAD1IDSPREME(startRow, maxRows); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual int FillByIDSTRUCNASPREMA(RAD1SPREMEVEZADataSet dataSet, int iDSTRUCNASPREMA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1SPREMEVEZASet = dataSet; this.rowRAD1SPREMEVEZA = this.RAD1SPREMEVEZASet.RAD1SPREMEVEZA.NewRAD1SPREMEVEZARow(); this.rowRAD1SPREMEVEZA.IDSTRUCNASPREMA = iDSTRUCNASPREMA; try { this.LoadByIDSTRUCNASPREMA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } return(0); }
public virtual bool FillByRAD1IDSPREMEIDSTRUCNASPREMA(RAD1SPREMEVEZADataSet dataSet, int rAD1IDSPREME, int iDSTRUCNASPREMA) { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1SPREMEVEZASet = dataSet; this.rowRAD1SPREMEVEZA = this.RAD1SPREMEVEZASet.RAD1SPREMEVEZA.NewRAD1SPREMEVEZARow(); this.rowRAD1SPREMEVEZA.RAD1IDSPREME = rAD1IDSPREME; this.rowRAD1SPREMEVEZA.IDSTRUCNASPREMA = iDSTRUCNASPREMA; try { this.LoadByRAD1IDSPREMEIDSTRUCNASPREMA(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } if (this.RcdFound288 == 0) { return(false); } return(true); }
public virtual int Fill(RAD1SPREMEVEZADataSet dataSet) { if (this.fillDataParameters != null) { this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()), int.Parse(this.fillDataParameters[1].Value.ToString())); } else { try { this.InitializeMembers(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.RAD1SPREMEVEZASet = dataSet; this.LoadChildRad1spremeveza(0, -1); dataSet.AcceptChanges(); } finally { this.Cleanup(); } } return(0); }