예제 #1
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, "PasajeroAeronave", "create_instance", "SIU_create_instance");
            IUServiceController lController    = new IUServiceController("create_instance", "New", "Clas_1348178542592177Ser_1_Alias", lAgentsService, "PasajeroAeronave", "create_instance", lContext, null);

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


            #region Inbound arguments
            IArguments InboundArguments = lController.InputFields;
            // Argument p_atrid_PasajeroAeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrid_PasajeroAeronave", "id_PasajeroAeronave", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_1_Alias", ModelType.Autonumeric, 0, false, null, lController));
            // Argument p_agrAeronave.
            InboundArguments.Add(new ArgumentOVController("p_agrAeronave", "Aeronave", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_5_Alias", "Aeronave", true, false, false, typeof(InteractionToolkit.Aeronave.IUPopulations.PIU_AeronaveIT).FullName, null, "", lController));
            // Argument p_agrPasajero.
            InboundArguments.Add(new ArgumentOVController("p_agrPasajero", "Pasajero", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_6_Alias", "Pasajero", true, false, false, typeof(InteractionToolkit.Pasajero.IUPopulations.PIU_PasajeroIT).FullName, null, "", lController));
            // Argument p_atrNombreAeronave.
            InboundArguments.Add(new ArgumentDVController("p_atrNombreAeronave", "NombreAeronave", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_8_Alias", ModelType.String, 100, false, null, lController));
            // Argument p_atrNombrePasajero.
            InboundArguments.Add(new ArgumentDVController("p_atrNombrePasajero", "NombrePasajero", "Clas_1348178542592177Ser_1UIServ_1ElemAgrup_9_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);
        }
예제 #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, "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);
        }
예제 #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, "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);
        }
예제 #4
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, "PasajeroAeronave", "edit_instance", "SIU_edit_instance");
            IUServiceController lController    = new IUServiceController("edit_instance", "Edit", "Clas_1348178542592177Ser_3_Alias", lAgentsService, "PasajeroAeronave", "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_thisPasajeroAeronave.
            lArgument = new ArgumentOVController("p_thisPasajeroAeronave", "PasajeroAeronave", "Clas_1348178542592177Ser_3UIServ_1ElemAgrup_1_Alias", "PasajeroAeronave", false, true, false, typeof(InteractionToolkit.PasajeroAeronave.IUPopulations.PIU_PasajeroAeronaveIT).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);
        }
예제 #5
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, "NaveNodriza", "delete_instance", "SIU_delete_instance");
            IUServiceController lController    = new IUServiceController("delete_instance", "Destroy", "Clas_1347649273856884Ser_2_Alias", lAgentsService, "NaveNodriza", "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_thisNaveNodriza.
            lArgument = new ArgumentOVController("p_thisNaveNodriza", "NaveNodriza", "Clas_1347649273856884Ser_2UIServ_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);
        }