GetSourceEventArgs.AreSourceRowsThreadSafe Property

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

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v20.1.dll

Declaration

public bool AreSourceRowsThreadSafe { get; set; }
Public Property AreSourceRowsThreadSafe As Boolean

Property Value

Type Description
Boolean

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

Remarks

Set this property in a ODataInstantFeedbackSource.GetSource event handler based on the type (thread-safe or not) of elements retrieved by a queryable source that is provided via the GetSourceEventArgs.Query property. By default, the AreSourceRowsThreadSafe property is initialized by the ODataInstantFeedbackSource.AreSourceRowsThreadSafe property value.

NOTE

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

See Also