DataSourceInfo Class
Contains information about a document’s data source.
Namespace: DevExpress.Snap.Core.API
Assembly: DevExpress.Snap.v21.2.Core.dll
NuGet Package: DevExpress.Snap.Core
Declaration
Related API Members
The following members return DataSourceInfo objects:
Remarks
You can assign a DataSourceInfo to a SnapDocument in the following ways.
Add a single default data source (via the IDataSourceOwner.DataSource property).
To access the default data source and its calculated fields, use the DataSourceInfoCollection.DefaultDataSourceInfo method.
Add a collection of non-default data sources (via the SnapDocument.DataSources property).
To access a non-default data source, use the DataSourceInfoCollection.GetInfo method.
To check whether or not a data source is the default, use the DataSourceInfoCollection.IsDefaultDataSource method.
To update the DataSourceInfo collection, use the SnapDocument.BeginUpdateDataSource and SnapDocument.EndUpdateDataSource methods.