共用方式為


IReadOnlyModificationCommand.EntityState 屬性

定義

EntityState 指出資料列是否會插入 (Added) 、更新 (Modified) 或刪除 ( (Deleted) 。

public Microsoft.EntityFrameworkCore.EntityState EntityState { get; }
member this.EntityState : Microsoft.EntityFrameworkCore.EntityState
Public ReadOnly Property EntityState As EntityState

屬性值

適用於