Struct ProcedureOutputParameter
A snapshot of one output or input/output parameter after a raw command has run. The live
DbParameter is never exposed: the value is copied when the owning ProcedureResult
reads its outputs.
public readonly record struct ProcedureOutputParameter : IEquatable<ProcedureOutputParameter>
- Implements
- Inherited Members
- Extension Methods
Constructors
ProcedureOutputParameter(string, object?, ParameterDirection)
A snapshot of one output or input/output parameter after a raw command has run. The live
DbParameter is never exposed: the value is copied when the owning ProcedureResult
reads its outputs.
public ProcedureOutputParameter(string Name, object? Value, ParameterDirection Direction)
Parameters
NamestringThe parameter name as reported by the provider.
ValueobjectThe value returned by the provider, or null for
DBNull.DirectionParameterDirectionThe parameter direction (Output or InputOutput).
Properties
Direction
The parameter direction (Output or InputOutput).
public ParameterDirection Direction { get; init; }
Property Value
Name
The parameter name as reported by the provider.
public string Name { get; init; }
Property Value
Value
The value returned by the provider, or null for DBNull.
public object? Value { get; init; }