Example #1
0
        public void Corporation_Repository_Insert()
        {
            var corporation = GetNewCorporation();
            var result      = repo.Insert(corporation);

            Assert.True(result > 0);
        }
Example #2
0
 /// <summary>
 /// 插入
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public Corporation Insert(Corporation item)
 {
     return(repository.Insert(item));
 }