DataContextChecker instantiates the data context and get the connection string.