Back to Devexpress

Session.SuppressThrowingAssociationCollectionWithDisabledLoading Property

xpo-devexpress-dot-xpo-dot-session-b1443d78.md

latest1.8 KB
Original Source

Session.SuppressThrowingAssociationCollectionWithDisabledLoading Property

OBSOLETE

Using that property will suppress detection of some potential problems with associated collections. Use it at your own risk.

Specifies whether exceptions are thrown when committing changes in a collection whose XPBaseCollection.LoadingEnabled property is set to false.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
[Obsolete("Using that property will suppress detection of some potential problems with associated collections. Use it at your own risk.")]
public static bool SuppressThrowingAssociationCollectionWithDisabledLoading { get; set; }
vb
<Obsolete("Using that property will suppress detection of some potential problems with associated collections. Use it at your own risk.")>
Public Shared Property SuppressThrowingAssociationCollectionWithDisabledLoading As Boolean

Property Value

TypeDescription
Boolean

true , to suppress exceptions; otherwise false.

|

Remarks

Generally, you don’t need to use this property.

See Also

Session Class

Session Members

DevExpress.Xpo Namespace