public void non_context_entities_should_work_too()
 {
     using (var db = new AdventureWorksEntities())
     {
         var firstType = db.ContactTypes.First();
         Assert.IsNotNull(firstType, "ContactType was null.");
     }
 }
Exemplo n.º 2
0
 public void its_context_should_be_populated()
 {
     using (var db = new AdventureWorksEntities())
     {
         var firstContact = db.Contacts.First();
         Assert.IsNotNull(firstContact.Context, "Context 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.");
     }
 }
Exemplo n.º 4
0
 public void non_context_entities_should_work_too()
 {
     using (var db = new AdventureWorksEntities())
     {
         var firstType = db.ContactTypes.First();
         Assert.IsNotNull(firstType, "ContactType was null.");
     }
 }