Share via


SqliteDbFunctionsExtensions.Unhex Method

Definition

Overloads

Unhex(DbFunctions, String)

Maps to the SQLite unhex function which returns a BLOB representing decoding of the hexadecimal string.

Unhex(DbFunctions, String, String)

Maps to the SQLite unhex function which returns a BLOB representing decoding of the hexadecimal string.

Unhex(DbFunctions, String)

Maps to the SQLite unhex function which returns a BLOB representing decoding of the hexadecimal string.

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

Parameters

_
DbFunctions

The DbFunctions instance.

value
String

The hexadecimal string.

Returns

Byte[]

Decoded hexadecimal string as binary value.

Remarks

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

Applies to

Unhex(DbFunctions, String, String)

Maps to the SQLite unhex function which returns a BLOB representing decoding of the hexadecimal string.

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

Parameters

_
DbFunctions

The DbFunctions instance.

value
String

The hexadecimal string.

ignoreChars
String

Characters that are ignored in value.

Returns

Byte[]

Decoded hexadecimal string as binary value.

Remarks

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

Applies to