/// <summary>
        /// Конструктор.
        /// </summary>
        /// <param name="environment">Окружение.</param>
        public DataEntitySqlServerConfig(CoreBaseEnvironment environment)
        {
            Environment = environment;

            FilePath = CreateFilePath();

            Settings = DataEntitySqlServerConfigSettings.Create(FilePath, Environment);
        }
Esempio n. 2
0
        /// <inheritdoc/>
        protected sealed override string CreateConnectionString()
        {
            var configFilePath = DataEntitySqlServerConfig.CreateFilePath();

            var configSettings = DataEntitySqlServerConfigSettings.Create(configFilePath, Environment);

            return(configSettings.ConnectionString);
        }