IsForType() public method

public IsForType ( Type type, IConvention convention ) : bool
type System.Type
convention IConvention
return bool
示例#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()));
 }