EF 中ApplyCurrentValues注意

using (CarleaseEntities ctx = new CarleaseEntities())
            {
                TBL1 T1 = ctx.TBL1.FirstOrDefault(t => t.ID == 1);         //一定要先选择此行
                ctx.TBL1FO.ApplyCurrentValues(T1);
                
                ctx.SaveChanges();
            }
原文地址:https://www.cnblogs.com/onekey/p/2051854.html