public void Single_related_entity_type_is_discovered_by_convention() { Database.SetInitializer<ContextWithSimpleRelatedEntities>(null); using (var context = new ContextWithSimpleRelatedEntities()) { context.Assert<SimpleRelatedEntity>().IsInModel(); } }
public void Single_related_entity_type_is_discovered_by_convention() { Database.SetInitializer <ContextWithSimpleRelatedEntities>(null); using (var context = new ContextWithSimpleRelatedEntities()) { context.Assert <SimpleRelatedEntity>().IsInModel(); } }