示例#1
0
 public void Update(T entity)
 {
     LeLeContext.Entry(entity).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
     Save();
 }