Beispiel #1
0
        public int New_()
        {
            CestaEN cestaEN = null;
            int     oid;

            //Initialized CestaEN
            cestaEN = new CestaEN();
            //Call to CestaCAD

            oid = _ICestaCAD.New_(cestaEN);
            return(oid);
        }
Beispiel #2
0
        public int New_(string p_usuario)
        {
            CestaEN cestaEN = null;
            int     oid;

            //Initialized CestaEN
            cestaEN = new CestaEN();

            if (p_usuario != null)
            {
                // El argumento p_usuario -> Property usuario es oid = false
                // Lista de oids id
                cestaEN.Usuario          = new CervezUAGenNHibernate.EN.CervezUA.UsuarioEN();
                cestaEN.Usuario.NUsuario = p_usuario;
            }

            //Call to CestaCAD

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