Esempio n. 1
0
        public void CheckCreateConnectionString()
        {
            var expect = "Data Source=localhost;Initial Catalog=TestDB;User ID=TestID;Password=Password";

            var testConnectionString = ConnectionString.CreateConnectionString("SQLServer", "localhost", "TestDB", "TestID", "Password");

            Assert.AreEqual(expect, testConnectionString);
        }