ViewModelManager.RegisterDataSource(String, Object) Method

Adds a DataSource object to a View Model.

Namespace: DevExpress.ExpressApp.Mobile

Assembly: DevExpress.ExpressApp.Mobile.v18.2.dll

Declaration

public DataSource RegisterDataSource(
    string id,
    object store
)
Public Function RegisterDataSource(
    id As String,
    store As Object
) As DataSource

Parameters

Type Name Description
String id

A string that is a DataSource identifier.

Object store

An object that is a DevExtreme Store used to access data.

Returns

Type Description
DevExpress.ExpressApp.Mobile.MobileModel.DataSource

A DataSource object that provides access to a data web service or local data storage.

See Also