示例#1
0
        public static string InsertarCategoria(string nombre, string descripcion)
        {
            DCategoria dCategoria = new DCategoria();

            dCategoria.Nombre      = nombre;
            dCategoria.Descripcion = descripcion;

            return(dCategoria.InsertarCategoria(dCategoria));
        }
示例#2
0
        /**LLAMADO DE LOS ATRIBUTOS EN LA CAPA DE DATOS**/
        //public string ApliValue()
        //{
        //	return odApli.cIdApp;
        //}

        //public string ApliText()
        //{
        //	return odApli.cNomApp;
        //}
        #endregion

        #region METODOS
        /**LLAMADO DE LOS METODOS EN LA CAPA DE DATOS**/
        public void Insertar(DataSet ds)
        {
            odCate.InsertarCategoria(ds);
        }