コード例 #1
0
 public void should_only_map_types_in_the_domain_namespace()
 {
     AutoMapAlteration <TestEntityBase> .IsMappable(typeof(DummyEntityClass)).ShouldBeFalse();
 }
コード例 #2
0
 public void should_map_subclasses_in_namespaces_under_entity()
 {
     AutoMapAlteration <TestEntityBase> .IsMappable(typeof(TestDeepEntityForMapping)).ShouldBeTrue();
 }
コード例 #3
0
 public void should_only_map_subclasses_of_entity()
 {
     AutoMapAlteration <TestEntityBase> .IsMappable(typeof(DummyClass)).ShouldBeFalse();
 }