示例#1
0
文件: PersonTest.cs 项目: rsalit/CSBC
 public void GetPersonByFirstAndLastNameTest()
 {
     var context = new Core.Data.CSBCDbContext();
     var testinit = new TestUtils(context);
     var rep = new PersonRepository(context);
     var person = rep.FindPersonByLastAndFirstName(testinit.HouseholdLastNames[0], testinit.FirstNames[0]);
     Assert.IsTrue(person.PeopleID != 0);
 }