ObjectDataSource.Parameters Property

Provides access to the list of parameters that must be specified when binding an ObjectDataSource to a method.

Namespace: DevExpress.DataAccess.ObjectBinding

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public ParameterList Parameters { get; }
Public ReadOnly Property Parameters As ParameterList

Property Value

Type Description
ParameterList

A ParameterList value.

Remarks

To bind an ObjectDataSource to a method, do the following.

  1. Call the ObjectDataSource.BeginUpdate method.
  2. Assign the method's name to the ObjectDataSource.DataMember property and specify this method's parameters (the ObjectDataSource.Parameters collection must contain parameters that are required to call this method and obtain the data).
  3. Call the ObjectDataSource.EndUpdate method.

In any other case, leave this collection empty.

See Also