예제 #1
0
        public int Crear(int p_Iden, Nullable <DateTime> p_fecha)
        {
            CestaEN cestaEN = null;
            int     oid;

            //Initialized CestaEN
            cestaEN      = new CestaEN();
            cestaEN.Iden = p_Iden;

            cestaEN.Fecha = p_fecha;

            //Call to CestaCAD

            oid = _ICestaCAD.Crear(cestaEN);
            return(oid);
        }
예제 #2
0
        public int Crear(int p_Iden, Nullable <DateTime> p_fecha, System.Collections.Generic.IList <string> p_productos)
        {
            CestaEN cestaEN = null;
            int     oid;

            //Initialized CestaEN
            cestaEN      = new CestaEN();
            cestaEN.Iden = p_Iden;

            cestaEN.Fecha = p_fecha;

            cestaEN.Productos = p_productos;

            //Call to CestaCAD

            oid = _ICestaCAD.Crear(cestaEN);
            return(oid);
        }