[Test]
public void Test()
{
Database
.Has(new Contact { Name = "Notepad" })
.Has(new Contact { Name = "Pencil" },
new Contact { Name = "Pen" },
new Contact { Name = "Pear" })
.Apply();
var contacts = Query.For<Contact>().ToList();
Assert.AreEqual(contacts.Count, 4);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
flibustier7seas/entity-framework-unit-test-effort-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Unit test with Entity Framework
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published