Επεξεργασία

Κοινή χρήση μέσω


UpdateException.StateEntries Property

Definition

Gets the ObjectStateEntry objects for this UpdateException.

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)

Property Value

A collection of ObjectStateEntry objects comprised of either a single entity and 0 or more relationships, or 0 entities and 1 or more relationships.

Remarks

For more information about how to handle exceptions in your code, see Exception.

Applies to