Share via


ObjectParameter Class

Definition

This class represents a query parameter at the object layer, which consists of a Name, a Type and a Value.

public sealed class ObjectParameter
type ObjectParameter = class
Public NotInheritable Class ObjectParameter
Inheritance
ObjectParameter

Constructors

ObjectParameter(String, Object)

Initializes a new instance of the ObjectParameter class with the specified name and value.

ObjectParameter(String, Type)

Initializes a new instance of the ObjectParameter class with the specified name and type.

Properties

Name

Gets the parameter name, which can only be set through a constructor.

ParameterType

Gets the parameter type.

Value

Gets or sets the parameter value.

Applies to