Esempio n. 1
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'edit_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'edit_instance' IU pattern.</returns>
        public static IUServiceController Service_edit_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "NaveNodriza", "edit_instance", "SIU_edit_instance");
            IUServiceController lController = new IUServiceController("edit_instance", "Edit", "Clas_1347649273856884Ser_3_Alias", lAgentsService, "NaveNodriza", "edit_instance", lContext, null, false);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            ArgumentOVController lArgument = null;
            // Argument p_thisNaveNodriza.
            lArgument = new ArgumentOVController("p_thisNaveNodriza", "NaveNodriza", "Clas_1347649273856884Ser_3UIServ_1ElemAgrup_1_Alias", "NaveNodriza", false, true, false, typeof(InteractionToolkit.NaveNodriza.IUPopulations.PIU_NaveNodrizaIT).FullName, null, "", lController);
            lController.ArgumentThis = lArgument;
            InboundArguments.Add(lArgument);
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 2
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "NaveNodriza", "create_instance", "Crear_NaveNodriza");
            IUServiceController lController = new IUServiceController("create_instance", "New", "Clas_1347649273856884Ser_1_Alias", lAgentsService, "NaveNodriza", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_NaveNodriza.
            InboundArguments.Add(new ArgumentDVController("p_atrid_NaveNodriza", "id_NaveNodriza", "Clas_1347649273856884Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
             			// Argument p_atrNombre_NaveNodriza.
            InboundArguments.Add(new ArgumentDVController("p_atrNombre_NaveNodriza", "Nombre_NaveNodriza", "Clas_1347649273856884Ser_1UIServ_1ElemAgrup_2_Alias", ModelType.String, 100, false, null, lController));
             			#endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 3
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "Pasajero", "create_instance", "SIU_create_instance");
            IUServiceController lController = new IUServiceController("create_instance", "New", "Clas_1348178542592658Ser_1_Alias", lAgentsService, "Pasajero", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_Pasajero.
            InboundArguments.Add(new ArgumentDVController("p_atrid_Pasajero", "id_Pasajero", "Clas_1348178542592658Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
             			// Argument p_atrNombre.
            InboundArguments.Add(new ArgumentDVController("p_atrNombre", "Nombre", "Clas_1348178542592658Ser_1UIServ_1ElemAgrup_2_Alias", ModelType.Text, 0, false, null, lController));
             			// Argument p_agrPasajeroAeronave.
            InboundArguments.Add(new ArgumentOVController("p_agrPasajeroAeronave", "PasajeroAeronave", "Clas_1348178542592658Ser_1UIServ_1ElemAgrup_4_Alias", "PasajeroAeronave", false, false, false , typeof(InteractionToolkit.PasajeroAeronave.IUPopulations.PIU_PasajeroAeronaveIT).FullName, null, "", lController));
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 4
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'delete_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'delete_instance' IU pattern.</returns>
        public static IUServiceController Service_delete_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "Pasajero", "delete_instance", "SIU_delete_instance");
            IUServiceController lController = new IUServiceController("delete_instance", "Destroy", "Clas_1348178542592658Ser_2_Alias", lAgentsService, "Pasajero", "delete_instance", lContext, null, false);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            ArgumentOVController lArgument = null;
            // Argument p_thisPasajero.
            lArgument = new ArgumentOVController("p_thisPasajero", "Pasajero", "Clas_1348178542592658Ser_2UIServ_1ElemAgrup_1_Alias", "Pasajero", false, true, false, typeof(InteractionToolkit.Pasajero.IUPopulations.PIU_PasajeroIT).FullName, null, "", lController);
            lController.ArgumentThis = lArgument;
            InboundArguments.Add(lArgument);
            #endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }
Esempio n. 5
0
        /// <summary>
        /// Creates the specific IUServiceController of the 'create_instance' IU pattern.
        /// </summary>
        /// <param name="exchangeInfo">IUServiceController reference.</param>
        /// <returns>Specific IUServiceController of the 'create_instance' IU pattern.</returns>
        public static IUServiceController Service_create_instanceInbound(ExchangeInfo exchangeInfo, IUController parentController)
        {
            string[] lAgentsService = { Agents.Administrador };
            IUServiceContext lContext = new IUServiceContext(exchangeInfo, "Revision", "create_instance", "SIU_create_instance");
            IUServiceController lController = new IUServiceController("create_instance", "New", "Clas_1348178542592347Ser_1_Alias", lAgentsService, "Revision", "create_instance", lContext, null);

            // This controller is an InboundArgument controller.
            lController.IsOutboundArgumentController = false;

            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_RevisarAeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrid_RevisarAeronave", "id_RevisarAeronave", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
             			// Argument p_atrFechaRevision.
            InboundArguments.Add(new ArgumentDVController("p_atrFechaRevision", "FechaRevision", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_3_Alias", ModelType.Date, 0, false, null, lController));
             			// Argument p_atrNombreRevisor.
            InboundArguments.Add(new ArgumentDVController("p_atrNombreRevisor", "NombreRevisor", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_4_Alias", ModelType.String, 100, false, null, lController));
             			// Argument p_atrId_Aeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrId_Aeronave", "Id_Aeronave", "Clas_1348178542592347Ser_1UIServ_1ElemAgrup_5_Alias", ModelType.String, 100, false, null, lController));
             			#endregion Inbound arguments

            #region Outbound arguments
            // If the service has outbound arguments, the outbound arguments scenario is set here; otherwise, null.
            lController.OutboundArgumentsScenario = null;
            #endregion Outbound arguments

            return lController;
        }