Table of Contents

Constructor Param

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

Param(string, object?, TDbType?, ParameterDirection)

public Param(string name, object? value, TDbType? type = null, ParameterDirection direction = ParameterDirection.Input)

Parameters

name string

The name of the parameter. Cannot be null, empty, or white space.

value object

The value of the parameter. A null input value is converted to Value.

type TDbType?

The optional database type of the parameter. When null, the provider infers it from the value.

direction ParameterDirection

The direction of the parameter.

Exceptions

ArgumentNullException

name is null.

ArgumentException

name is empty or white space.