ObjectDataSourceValidationService.Validate(IEnumerable<ObjectDataSource>) Method
Provides default validation of the specified ObjectDataSource data objects before data retrieval.
Namespace: DevExpress.XtraSpreadsheet.Services
Assembly: DevExpress.XtraSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Win.Spreadsheet
Declaration
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