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

DataAccessService Class

Provides information on the data source bound to the SnapControl.

Namespace: DevExpress.Snap.Services

Assembly: DevExpress.Snap.v18.1.Core.dll

Declaration

public class DataAccessService :
    DataAccessServiceBase

Remarks

The SnapControl.DataSources property provides access to data sources bound to the SnapControl. However, to obtain the type of a certain field in a data source with minimal effort, you can use the DataAccessService.GetColumnType method of the DataAccessService class.

Tip

To access the DataAccessService service, use the RichEditControl.GetService<T> method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataAccessService class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
DevExpress.Snap.Core.Native.Data.Implementations.DataAccessServiceBase
DataAccessService
See Also