1.更新个别字段
context.UpdateOnly(empEntity, "EmpStatus", "UpdateEmpID", "UpdateTime");
2.更新个别字段
int test1 = context.Update<PJ_Infor>(t=>t.ID == inforProject.ID, t => new PJ_Infor() { ProjectName = inforProject.ProjectName });
3.整体更新
context.Update<BD_FloPriceOfCommonditiesItems>(item);