共用方式為


UpdateException.StateEntries 屬性

定義

取得這個 ObjectStateEntryUpdateException 物件。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Objects::ObjectStateEntry ^> ^ StateEntries { System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Objects::ObjectStateEntry ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Objects.ObjectStateEntry> StateEntries { get; }
member this.StateEntries : System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Objects.ObjectStateEntry>
Public ReadOnly Property StateEntries As ReadOnlyCollection(Of ObjectStateEntry)

屬性值

ObjectStateEntry 物件的集合是由單一實體和 0 或多個關聯性構成,或由 0 個實體和 1 或多個關聯性構成。

備註

如需如何在程式碼中處理例外狀況的詳細資訊,請參閱 Exception

適用於