Entity Framework 有三種刪除資料的方法,如下。 第一個是常見的寫法:. Remove(). 1. 2. 3. TestModel object = context.TestModel.Single(x => x.
確定! 回上一頁