ObjectStateManager.GetObjectStateEntry Yöntem

Tanım

Aşırı Yüklemeler

GetObjectStateEntry(EntityKey)

Belirtilen anahtarla nesne veya ilişki girdisi için bir ObjectStateEntry döndürür.

GetObjectStateEntry(Object)

Belirtilen nesne için bir ObjectStateEntry döndürür.

GetObjectStateEntry(EntityKey)

Belirtilen anahtarla nesne veya ilişki girdisi için bir ObjectStateEntry döndürür.

public virtual System.Data.Entity.Core.Objects.ObjectStateEntry GetObjectStateEntry(System.Data.Entity.Core.EntityKey key);
abstract member GetObjectStateEntry : System.Data.Entity.Core.EntityKey -> System.Data.Entity.Core.Objects.ObjectStateEntry
override this.GetObjectStateEntry : System.Data.Entity.Core.EntityKey -> System.Data.Entity.Core.Objects.ObjectStateEntry
Public Overridable Function GetObjectStateEntry (key As EntityKey) As ObjectStateEntry

Parametreler

Döndürülenler

Verilen EntityKey öğesine karşılık gelen ObjectStateEntry .

Özel durumlar

Anahtar null olduğunda.

Belirtilen anahtar durum yöneticisinde bulunamadığında.

içinde ObjectStateManager belirtilene EntityKey sahip bir varlık yok.

Şunlara uygulanır

GetObjectStateEntry(Object)

Belirtilen nesne için bir ObjectStateEntry döndürür.

public virtual System.Data.Entity.Core.Objects.ObjectStateEntry GetObjectStateEntry(object entity);
abstract member GetObjectStateEntry : obj -> System.Data.Entity.Core.Objects.ObjectStateEntry
override this.GetObjectStateEntry : obj -> System.Data.Entity.Core.Objects.ObjectStateEntry
Public Overridable Function GetObjectStateEntry (entity As Object) As ObjectStateEntry

Parametreler

entity
Object

Alınan ObjectObjectStateEntry öğenin ait olduğu yer.

Döndürülenler

Verilen Object öğesine karşılık gelen ObjectStateEntry .

Özel durumlar

içinde belirtilen Object için hiçbir varlık yok ObjectStateManager .

Şunlara uygulanır