Example #1
0
        public string GetConnectionString()
        {
            string connectionString = GeneralContext.GetConnectionString("CRPMDatabase");

            if (string.IsNullOrEmpty(connectionString) || connectionString.Contains("{0}"))
            {
                GeneralContext.Logger.Error("connectionString is null or empty or not valid");
            }

            return(connectionString);
        }