Back to Devexpress

Session.ObjectsSavedInCurrentTransaction Property

xpo-devexpress-dot-xpo-dot-session-cc7ef4d9.md

latest1.8 KB
Original Source

Session.ObjectsSavedInCurrentTransaction Property

OBSOLETE

Please use GetObjectsToSave instead

Gets the collection of IXPSimpleObject objects that are saved in the transaction currently in progress.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
[Browsable(false)]
[Obsolete("Please use GetObjectsToSave() instead", true)]
public ICollection ObjectsSavedInCurrentTransaction { get; }
vb
<Browsable(False)>
<Obsolete("Please use GetObjectsToSave() instead", True)>
Public ReadOnly Property ObjectsSavedInCurrentTransaction As ICollection

Property Value

TypeDescription
ICollection

A collection of IXPSimpleObject objects.

|

Remarks

The ObjectsSavedInCurrentTransaction collection is cleared each time you start a transaction via the Session.BeginTransaction method or end a transaction via the Session.CommitTransaction or Session.RollbackTransaction methods.

See Also

Session Class

Session Members

DevExpress.Xpo Namespace