Skip to content

DapperMaticFunctionParameter ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

A parameter of a DapperMaticFunction.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (5)

Constructors ​

DapperMaticFunctionParameter ​

csharp
DapperMaticFunctionParameter()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Name ​

Gets or sets the name: <c>@name</c> in the SQL, and the argument's name in the request.

Type: string

Type ​

Gets or sets the type the argument is read as.

Type: Type

Value ​

Gets or sets a value of the request's context the parameter always takes, such as <c>@tenant.id</c> or <c>@user.id</c>; a request giving it is refused. Null for an argument the caller gives.

Type: string?

Default ​

Gets or sets the value when the caller gives none; a parameter with none and not nullable is required.

Type: object?

Nullable ​

Gets or sets a value indicating whether the caller may give null, or leave it out with no default.

Type: bool