Method CopyToDBNullAsNull
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
CopyToDBNullAsNull(ReadOnlySpan<object?>, Span<object?>)
public static Span<object?> CopyToDBNullAsNull(this ReadOnlySpan<object?> values, Span<object?> target)
Parameters
valuesReadOnlySpan<object>The source values.
targetSpan<object>The span that receives the values.
Returns
Exceptions
- IndexOutOfRangeException
targetis shorter thanvalues.
CopyToDBNullAsNull(Span<object?>, Span<object?>)
public static Span<object?> CopyToDBNullAsNull(this Span<object?> values, Span<object?> target)
Parameters
Returns
Exceptions
- IndexOutOfRangeException
targetis shorter thanvalues.
CopyToDBNullAsNull(ReadOnlySpan<object?>, Memory<object?>)
public static Span<object?> CopyToDBNullAsNull(this ReadOnlySpan<object?> values, Memory<object?> target)
Parameters
valuesReadOnlySpan<object>The source values.
targetMemory<object>The span that receives the values.
Returns
Exceptions
- IndexOutOfRangeException
targetis shorter thanvalues.
CopyToDBNullAsNull(Span<object?>, Memory<object?>)
public static Span<object?> CopyToDBNullAsNull(this Span<object?> values, Memory<object?> target)
Parameters
Returns
Exceptions
- IndexOutOfRangeException
targetis shorter thanvalues.