Skip to main content

GetQueryableEventArgs.AreSourceRowsThreadSafe Property

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

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public bool AreSourceRowsThreadSafe { get; set; }

Property Value

Type Description
Boolean

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

Remarks

Set this property in a LinqInstantFeedbackSource.GetQueryable event handler, according to the type (thread-safe or not) of elements retrieved by a queryable source that is provided via the GetQueryableEventArgs.QueryableSource property. By default, the AreSourceRowsThreadSafe property is initialized by the LinqInstantFeedbackSource.AreSourceRowsThreadSafe property value.

Note

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

See Also