示例#1
0
 public void Update(User v)
 {
     _context.Entry(v).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
 }
示例#2
0
 public void Update(Note v)
 {
     _context.Entry(v).State = EntityState.Modified;
 }