昨天提到EF Core 新增或更新資料(UPSERT) 的簡便寫法,有讀者朋友提到是否能用Attach() 跟Entry().State = EntityState.Modified; 取代Entry().
確定! 回上一頁