Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public ParameterList Parameters { get; }

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