Exemplo n.º 1
0
        private void DeleteDetail(EVarCalc entity, bool filterModified)
        {
            if (entity == null)
            return;

             IDOUpdate objDO = new RHDOMnt.VarCalcDet();
             EVarCalcDet objE = new EVarCalcDet();
             objE.IdVarCalc = entity.IdVarCalc;
             objDO.Delete(objE);
        }
Exemplo n.º 2
0
        private ArrayList BuildParamInterface(EVarCalcDet value)
        {
            ArrayList arrPrm = new ArrayList();

             arrPrm.Add(DataHelper.CreateParameter("@pidVarCalc", SqlDbType.VarChar, 15, value.IdVarCalc));
             arrPrm.Add(DataHelper.CreateParameter("@pstFiltro", SqlDbType.Char, 1, value.StFiltro));
             arrPrm.Add(DataHelper.CreateParameter("@pnuValor", SqlDbType.VarChar, 15, value.NuValor));

             return arrPrm;
        }