Table of Contents

Method AddParams

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

AddParams<TValues>(TValues)

Adds the members of an object as parameters, before the source is known.

public UnboundCall<T> AddParams<TValues>(TValues values) where TValues : notnull

Parameters

values TValues

The object whose members are the parameters.

Returns

UnboundCall<T>

The parameters so far, to be given a source with Using.

Type Parameters

TValues

The type of the object.

Remarks

For fewer allocations, use a typed Params<TParams>() definition with a readonly record struct.