예제 #1
0
        public static Configuration GetAllConfigurations()
        {
            // make a new configuration
            Configuration configuration
                = new Configuration();

            // get all configurations
            configuration.applications           = ApplicationDAO.Get();
            configuration.applicationSettings    = ApplicationSettingDAO.Get();
            configuration.columnSets             = ColumnSetDAO.Get();
            configuration.communications         = CommunicationDAO.Get();
            configuration.communicationTypes     = CommunicationTypeDAO.Get();
            configuration.credentials            = CredentialDAO.Get();
            configuration.credentialTypes        = CredentialTypeDAO.Get();
            configuration.databaseTableRelations = DatabaseTableRelationDAO.Get();
            configuration.databaseInstances      = DatabaseInstanceDAO.Get();
            configuration.databaseTables         = DatabaseTableDAO.Get();
            configuration.directionTypes         = DirectionTypeDAO.Get();
            configuration.interfaceThreads       = InterfaceDAO.Get();
            configuration.messageGroups          = MessageGroupDAO.Get();
            configuration.messageGroupInstances  = MessageGroupInstanceDAO.Get();
            configuration.messageParts           = MessagePartDAO.Get();
            configuration.messageTypes           = MessageTypeDAO.Get();
            configuration.segmentTypes           = SegmentTypeDAO.Get();
            configuration.webserviceInstances    = WebserviceInstanceDAO.Get();
            configuration.webserviceObjects      = WebserviceObjectDAO.Get();
            configuration.webservicePropertySets = WebservicePropertySetDAO.Get();

            return(configuration);
        }