ObjectDataSourceValidationService.Validate(IEnumerable<ObjectDataSource>) Method

Provides default validation of the specified ObjectDataSource data objects before data retrieval.

Namespace: DevExpress.XtraSpreadsheet.Services

Assembly: DevExpress.XtraSpreadsheet.v21.2.dll

Declaration

public void Validate(
    IEnumerable<ObjectDataSource> dataSources
)

Parameters

Name Type Description
dataSources IEnumerable<ObjectDataSource>

A IEnumerable<T><ObjectDataSource,> collection of ObjectDataSource instances to validate.

Remarks

When the user denies the data source loading, the ObjectDataSource.DataSource and ObjectDataSource.DataMember properties are set to null.

See Also