Back to Devexpress

ODataInstantFeedbackSource.AreSourceRowsThreadSafe Property

corelibraries-devexpress-dot-data-dot-odatalinq-dot-odatainstantfeedbacksource-0683e2c9.md

latest2.0 KB
Original Source

ODataInstantFeedbackSource.AreSourceRowsThreadSafe Property

Specifies whether elements retrieved by the ODataInstantFeedbackSource‘s queryable source are thread-safe.

Namespace : DevExpress.Data.ODataLinq

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
[DefaultValue(false)]
public bool AreSourceRowsThreadSafe { get; set; }
vb
<DefaultValue(False)>
Public Property AreSourceRowsThreadSafe As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , if elements retrieved by the queryable source are thread-safe; otherwise, false.

|

Remarks

Set this property according to the type (thread-safe or not) of elements retrieved by a queryable source to be supplied via a ODataInstantFeedbackSource.GetSource event handler. You can modify the AreSourceRowsThreadSafe property value within the event handler via the GetSourceEventArgs.AreSourceRowsThreadSafe property.

Note

Do not set the AreSourceRowsThreadSafe property to true for queryable sources that may retrieve non-thread-safe elements.

See Also

ODataInstantFeedbackSource Class

ODataInstantFeedbackSource Members

DevExpress.Data.ODataLinq Namespace