public void executePrivate(int startRow, int maxRows) { this.cmS_PLACA_RAD1G_IVSelect2 = this.connDefault.GetCommand("S_PLACA_RAD1G_IV", true); this.cmS_PLACA_RAD1G_IVSelect2.IDbCommand.CommandType = CommandType.StoredProcedure; this.cmS_PLACA_RAD1G_IVSelect2.IDbCommand.Parameters.Clear(); this.cmS_PLACA_RAD1G_IVSelect2.IDbCommand.Parameters.Add(this.dsDefault.GetDbParameter("@GODINAOBRACUNA", this.AV8GODINAO)); this.cmS_PLACA_RAD1G_IVSelect2.ErrorMask |= ErrorMask.Lock; this.S_PLACA_RAD1G_IVSelect2 = this.cmS_PLACA_RAD1G_IVSelect2.FetchData(); while (this.cmS_PLACA_RAD1G_IVSelect2.HasMoreRows && (startRow > 0)) { startRow--; this.cmS_PLACA_RAD1G_IVSelect2.HasMoreRows = this.S_PLACA_RAD1G_IVSelect2.Read(); } int num = 0; while (this.cmS_PLACA_RAD1G_IVSelect2.HasMoreRows && (num != maxRows)) { this.rowS_PLACA_RAD1G_IV["BRUTOPLACA"] = RuntimeHelpers.GetObjectValue(this.S_PLACA_RAD1G_IVSelect2["BRUTOPLACA"]); this.rowS_PLACA_RAD1G_IV["netoplaca"] = RuntimeHelpers.GetObjectValue(this.S_PLACA_RAD1G_IVSelect2["NETOPLACA"]); this.rowS_PLACA_RAD1G_IV["SPREMA"] = RuntimeHelpers.GetObjectValue(this.S_PLACA_RAD1G_IVSelect2["SPREMA"]); this.rowS_PLACA_RAD1G_IV["SPOL"] = RuntimeHelpers.GetObjectValue(this.S_PLACA_RAD1G_IVSelect2["spol"]); this.AddRowS_placa_rad1g_iv(); num++; this.rowS_PLACA_RAD1G_IV = this.S_PLACA_RAD1G_IVSet.S_PLACA_RAD1G_IV.NewS_PLACA_RAD1G_IVRow(); this.cmS_PLACA_RAD1G_IVSelect2.HasMoreRows = this.S_PLACA_RAD1G_IVSelect2.Read(); } this.S_PLACA_RAD1G_IVSelect2.Close(); this.Cleanup(); }
public S_PLACA_RAD1G_IVDataSet.S_PLACA_RAD1G_IVRow AddS_PLACA_RAD1G_IVRow(decimal bRUTOPLACA, decimal netoplaca, string sPREMA, string sPOL) { S_PLACA_RAD1G_IVDataSet.S_PLACA_RAD1G_IVRow row = (S_PLACA_RAD1G_IVDataSet.S_PLACA_RAD1G_IVRow) this.NewRow(); row.ItemArray = new object[] { bRUTOPLACA, netoplaca, sPREMA, sPOL }; this.Rows.Add(row); return(row); }
public virtual int Fill(S_PLACA_RAD1G_IVDataSet dataSet, string gODINAOBRACUNA) { this.Initialize(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.S_PLACA_RAD1G_IVSet = dataSet; this.rowS_PLACA_RAD1G_IV = this.S_PLACA_RAD1G_IVSet.S_PLACA_RAD1G_IV.NewS_PLACA_RAD1G_IVRow(); this.SetFillParameters(gODINAOBRACUNA); this.AV8GODINAO = gODINAOBRACUNA; try { this.executePrivate(0, -1); } finally { this.Cleanup(); } return(0); }
public S_PLACA_RAD1G_IVRowChangeEvent(S_PLACA_RAD1G_IVDataSet.S_PLACA_RAD1G_IVRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveS_PLACA_RAD1G_IVRow(S_PLACA_RAD1G_IVDataSet.S_PLACA_RAD1G_IVRow row) { this.Rows.Remove(row); }
public void AddS_PLACA_RAD1G_IVRow(S_PLACA_RAD1G_IVDataSet.S_PLACA_RAD1G_IVRow row) { this.Rows.Add(row); }