Struct ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
A parameter to be created on the database command each time the expressive command executes.
public readonly record struct ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param : IEquatable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>
- Implements
- Inherited Members
Remarks
For Input and InputOutput parameters, a null value is stored as Value so the parameter is sent as a database null. For output and return-value parameters the value is stored as given.
Constructors
- Param(string, object?, TDbType?, ParameterDirection)
Initializes a new instance of the ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param struct.
Properties
- Direction
Gets the direction of the parameter.
- Name
Gets the name of the parameter.