public void non_context_entities_should_work_too() { using (var db = new AdventureWorksEntities()) { var firstType = db.ContactTypes.First(); Assert.IsNotNull(firstType, "ContactType was null."); } }
public void its_context_should_be_populated() { using (var db = new AdventureWorksEntities()) { var firstContact = db.Contacts.First(); Assert.IsNotNull(firstContact.Context, "Context was null."); } }