using (CarleaseEntities ctx = new CarleaseEntities())
{
TBL1 T1 = ctx.TBL1.FirstOrDefault(t => t.ID == 1); //一定要先选择此行
ctx.TBL1FO.ApplyCurrentValues(T1);
ctx.SaveChanges();
}
{
TBL1 T1 = ctx.TBL1.FirstOrDefault(t => t.ID == 1); //一定要先选择此行
ctx.TBL1FO.ApplyCurrentValues(T1);
ctx.SaveChanges();
}