ObjectStateManager.GetObjectStateEntries(EntityState) Yöntem

Tanım

Verilen durumla ilgili nesneler veya ilişkiler için bir nesne koleksiyonu ObjectStateEntry döndürür.

public:
 System::Collections::Generic::IEnumerable<System::Data::Objects::ObjectStateEntry ^> ^ GetObjectStateEntries(System::Data::EntityState state);
public System.Collections.Generic.IEnumerable<System.Data.Objects.ObjectStateEntry> GetObjectStateEntries(System.Data.EntityState state);
member this.GetObjectStateEntries : System.Data.EntityState -> seq<System.Data.Objects.ObjectStateEntry>
Public Function GetObjectStateEntries (state As EntityState) As IEnumerable(Of ObjectStateEntry)

Parametreler

state
EntityState

EntityState Döndürülen ObjectStateEntry nesneleri filtrelemek için kullanılan.

Döndürülenler

Verilen EntityStateiçindeki nesne koleksiyonuObjectStateEntry.

Özel durumlar

olduğunda stateDetached.

Açıklamalar

EntityState bir bit alanı olduğundan, birden çok durum için durum girdileri bit düzeyinde VEYA birden çok EntityState değerle tek bir çağrıda alınabilir.

Şunlara uygulanır