Table of Contents

Method CopyToDBNullAsNull

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

CopyToDBNullAsNull(ReadOnlySpan<object?>, Span<object?>)

Copies the contents of the values span to the target span with any DBNull values converted to null.

public static Span<object?> CopyToDBNullAsNull(this ReadOnlySpan<object?> values, Span<object?> target)

Parameters

values ReadOnlySpan<object>
target Span<object>

Returns

Span<object>

CopyToDBNullAsNull(Span<object?>, Span<object?>)

Copies the contents of the values span to the target span with any DBNull values converted to null.

public static Span<object?> CopyToDBNullAsNull(this Span<object?> values, Span<object?> target)

Parameters

values Span<object>
target Span<object>

Returns

Span<object>

CopyToDBNullAsNull(ReadOnlySpan<object?>, Memory<object?>)

Copies the contents of the values span to the target span with any DBNull values converted to null.

public static Span<object?> CopyToDBNullAsNull(this ReadOnlySpan<object?> values, Memory<object?> target)

Parameters

values ReadOnlySpan<object>
target Memory<object>

Returns

Span<object>

CopyToDBNullAsNull(Span<object?>, Memory<object?>)

Copies the contents of the values span to the target span with any DBNull values converted to null.

public static Span<object?> CopyToDBNullAsNull(this Span<object?> values, Memory<object?> target)

Parameters

values Span<object>
target Memory<object>

Returns

Span<object>