ObjectStateManager.GetObjectStateEntries(EntityState) Yöntem

Tanım

Nesneler veya verilen durumla 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 durumun durum girdileri bit düzeyinde VEYA birden EntityState çok değerle tek bir çağrıda alınabilir.

Şunlara uygulanır