예제 #1
0
        public void Is_for_type_when_qualified_with_table_name_from_type_name_and_convention()
        {
            var columnValue = new ColumnValue("MOVIE COLUMNNAME", 0);

            Assert.IsTrue(columnValue.IsForType(typeof(Movie), new UpperCaseConvention()));
        }
예제 #2
0
 public void Is_for_type_when_alias_is_unqualified()
 {
     Assert.IsTrue(_unqualifiedColumnValue.IsForType(typeof(Movie), new DefaultConvention()));
 }
예제 #3
0
 public void Is_for_type_when_qualified_with_type_name()
 {
     Assert.IsTrue(_qualifiedColumnValue.IsForType(typeof(Movie), new DefaultConvention()));
 }