/// <summary>
        /// Customize this section to load from a file to increase portability
        /// </summary>
        private void InitializeConnectionAlias()
        {
            EnvironmentVars a = new EnvironmentVars(true);

            ServerName = Properties.Settings.Default.ServerName;

            DatabaseName = "claim_production";
            UserName     = "******";
            Password     = "******";
            _dataSource  = SourceTypes.MySQL;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Customize this section to load from a file to increase portability
        /// </summary>
        private void InitializeConnectionAlias()
        {
            EnvironmentVars a = new EnvironmentVars(true);

            ServerName = Properties.Settings.Default.ServerNameSQL;
#if DEBUG
            //ServerName = "(local)\\SQLEXPRESS";
            ServerName = "BHUPENDRA-PC";
#endif

            DatabaseName = Properties.Settings.Default.DatabaseName;
            //UserName = "******";
            //Password = "******";
            UserName    = "******";
            Password    = "******";
            _dataSource = SourceTypes.SqlServer;
        }