Ejemplo n.º 1
0
        public void Insert(int?Numero, string Prueba, int?Categoria, decimal?Precio, int?IdNomenclador, int?IdNomencladorDetalle)
        {
            PnAnexo item = new PnAnexo();

            item.Numero = Numero;

            item.Prueba = Prueba;

            item.Categoria = Categoria;

            item.Precio = Precio;

            item.IdNomenclador = IdNomenclador;

            item.IdNomencladorDetalle = IdNomencladorDetalle;


            item.Save(UserName);
        }
Ejemplo n.º 2
0
        public void Update(int IdAnexo, int?Numero, string Prueba, int?Categoria, decimal?Precio, int?IdNomenclador, int?IdNomencladorDetalle)
        {
            PnAnexo item = new PnAnexo();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdAnexo = IdAnexo;

            item.Numero = Numero;

            item.Prueba = Prueba;

            item.Categoria = Categoria;

            item.Precio = Precio;

            item.IdNomenclador = IdNomenclador;

            item.IdNomencladorDetalle = IdNomencladorDetalle;

            item.Save(UserName);
        }