using System;
using System.Collections.Generic;
using System.Text;

namespace ExportFaktur
{
    class ConnString
    {
        private string truckExpoConnStr = @"Data Source=sql.ct.com.pl;Initial Catalog=truck_expo;User ID=sa;Password=9ar6u$ek";

       // private string truckExpoConnStr = @"Data Source=DOROTA-PC\SQL2005MSDN;Initial Catalog=truck_expo;Integrated Security=true";

        //private string truckExpoConnStr = @"Data Source=sql.infocity.pl;Initial Catalog=BAZA_reKLAM;User ID=sa;Password=POLzax";

        public string TruckExpoConnStr
        {
            get { return truckExpoConnStr; }        
        }

        private string cdnExpoConnStr = @"Data Source=10.0.0.125;Initial Catalog=CDN_SAM_PRESS;User ID=sa;Password=9ar6u$ek";

       //private string cdnExpoConnStr = @"Data Source=DOROTA-PC\SQL2005MSDN;Initial Catalog=CDN_SAMPRESS;Integrated Security=true";

        public string CdnExpoConnStr
        {
            get { return cdnExpoConnStr; }           
        }
        
        private static ConnString connectionString;

        private ConnString() { 
        }

        public static ConnString getConnString()
        {
            if (connectionString == null){
                connectionString = new ConnString();
            } 
            return connectionString;
        } 
    }
}
