Skip to main content
A newer version of this page is available.

IObjectDataSourceValidationService.Validate(IEnumerable<ObjectDataSource>) Method

Validates the ObjectDataSource data objects before data retrieval.

Namespace: DevExpress.Snap.Services

Assembly: DevExpress.Snap.v19.2.Core.dll

Declaration

void Validate(
    IEnumerable<ObjectDataSource> dataSources
)

Parameters

Name Type Description
dataSources IEnumerable<ObjectDataSource>

An IEnumerable<T><ObjectDataSource,> collection to validate.

Remarks

To prevent a data object in a collection from executing its data retrieval method, set its ObjectDataSource.DataSource and ObjectDataSource.DataMember properties to null.

See Also