Add(p); //呼叫 SaveChanges()儲存變更時,新增至資料庫 db.SaveChanges(); 2。將 Entity 加入到 Products 實體集} ✦ Delete 刪除資料刪除資料也先用 Find(id)找到該筆 ...
確定! 回上一頁