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.v21.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Parameters property.

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.

See Also