コード例 #1
0
ファイル: PrimaryRepoTest.cs プロジェクト: deftoneYo/dig
 public void Location_Can_Add()
 {
     var location = new Location()
         {
             AddressId = 0,
             CreatedByUserId = 0,
             CreatedDate = new DateTime(2013, 1, 1),
             Id = 1,
             ModifiedByUserId = 0,
             ModifiedDate = new DateTime(2013, 1, 1),
             Name = "Test",
             NickName = "Testerasdf"
         };
         var repo = new Dig.Data.Repositories.LocationRepository();
         repo.Add(location);
 }