共用方式為


ModificationCommand.EntityState 屬性

定義

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

public virtual Microsoft.EntityFrameworkCore.EntityState EntityState { get; }
public Microsoft.EntityFrameworkCore.EntityState EntityState { get; }
public virtual Microsoft.EntityFrameworkCore.EntityState EntityState { get; set; }
member this.EntityState : Microsoft.EntityFrameworkCore.EntityState
member this.EntityState : Microsoft.EntityFrameworkCore.EntityState with get, set
Public Overridable ReadOnly Property EntityState As EntityState
Public ReadOnly Property EntityState As EntityState
Public Overridable Property EntityState As EntityState

屬性值

實作

適用於