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.
TDbType accommodates the difference between DbType and provider-specific enums such as SqlDbType.
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)
Constructs a ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param.
Properties
- Direction
Gets the direction of the parameter.
- Name
Gets the name of the parameter.