/// <summary> ServiceConfig egy új példányát hozza létre ConfigParameters alapján</summary>
        /// <author>VL</author>
        /// <date>2013.07.04</date>
        /// <param name="ConfigParameters">Config parameter class</param>
        public ServiceConfig(ServiceConfigParameters ConfigParameters)
        {
            string constrname = c_connstr + (int)ConfigParameters.Environment;
            string cs = ConfigurationManager.ConnectionStrings[constrname].ConnectionString;
            _ConfigurationParameters = ConfigParameters;

            _datacontext = new PSIntranet.Service.Entities.PSIntranetServiceEntities(cs);
        }
 /// <summary>
 /// Létrehozza a FormServiceQueries class egy példányát
 /// </summary>
 public FormServiceQueries(ServiceConfigParameters serviceparameters)
 {
     _serviceconfigparameters = serviceparameters;
 }