private DataWorker <MsSQLServerStateFields, DataSet> setConfigToProxyDataBase(
            string connectionString)
        {
            DataWorker <MsSQLServerStateFields, DataSet> accessProxy = new MsSQLServerProxy();
            MsSQLServerStateFields configProxy =
                new MsSQLServerStateFields(connectionString);

            accessProxy.setConfig(configProxy);

            return(accessProxy);
        }
        private DataWorker <MsSQLServerStateFields, DataSet> setConfigToProxyDataBase(
            string connectionString, string query)
        {
            DataWorker <MsSQLServerStateFields, DataSet> accessProxy = new MsSQLServerProxy();
            List <string> list = new List <string>();

            list.Add(query);
            MsSQLServerStateFields configProxy =
                new MsSQLServerStateFields(connectionString, list);

            accessProxy.setConfig(configProxy);

            return(accessProxy);
        }