ObjectStateEntry.State 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得 ObjectStateEntry 的狀態。
命名空間: System.Data.Entity.Core.Objects
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Property State As EntityState
Get
Friend Set
'用途
Dim instance As ObjectStateEntry
Dim value As EntityState
value = instance.State
public EntityState State { get; internal set; }
public:
virtual property EntityState State {
EntityState get () sealed;
internal: void set (EntityState value) sealed;
}
abstract State : EntityState with get, internal set
override State : EntityState with get, internal set
final function get State () : EntityState
internal final function set State (value : EntityState)
屬性值
類型:System.Data.Entity.EntityState
ObjectStateEntry 的狀態。