SqliteDbFunctionsExtensions.Hex(DbFunctions, Byte[]) Method

Definition

Maps to the SQLite hex function which returns a hexadecimal string representing the specified value.

public static string Hex (this Microsoft.EntityFrameworkCore.DbFunctions _, byte[] bytes);
static member Hex : Microsoft.EntityFrameworkCore.DbFunctions * byte[] -> string
<Extension()>
Public Function Hex (_ As DbFunctions, bytes As Byte()) As String

Parameters

_
DbFunctions

The DbFunctions instance.

bytes
Byte[]

The binary value.

Returns

A hexadecimal string.

Remarks

See Database functions, and Accessing SQLite databases with EF Core for more information and examples.

Applies to