Example #1
0
        public void CreateDbTextCommand_CompareSqlStringAndDbProcedureHashCodes_ExpectSame()
        {
            var sqlString   = "SELECT * FROM myTable";
            var textCommand = new TestDbTextCommand(sqlString);

            Assert.AreEqual(sqlString.GetHashCode(), textCommand.GetHashCode());
        }