public void Insert() { var service = new FinanceService(); var rel = service.AddOrUpdate(new List <FinanceQueryEntity> { new FinanceQueryEntity { LillyId = "13654921092", MoneySum = decimal.Round(38218.4398m, 4), TEANO = "adiwn-x", ReceiveDate = DateTime.Now, Status = "介绍dfe", CreatedDate = DateTime.Now, UpdateDate = DateTime.Now, CreatedUserID = "john", UpdatedUserID = "john" } }); Assert.IsTrue(rel.InsertCount > 0); }