示例#1
0
        public void PropMatches_TakesSizeIntoAccount()
        {
            var prop1 = new Prop { ColumnName = "Col", SqlDbType = SqlDbType.VarChar, Size = "100" };
            var prop2 = new Prop { ColumnName = "Col", SqlDbType = SqlDbType.VarChar, Size = "101" };

            var matches = prop1.Matches(prop2);

            Assert.IsFalse(matches);
        }