다음을 통해 공유


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)

Source:
SqliteDbFunctionsExtensions.cs
Source:
SqliteDbFunctionsExtensions.cs

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);
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 or null if value is not an hexadecimal string.

Remarks

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

Applies to

Unhex(DbFunctions, String, String)

Source:
SqliteDbFunctionsExtensions.cs
Source:
SqliteDbFunctionsExtensions.cs

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);
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 or null if ignoring the characters from ignoreChars in value does not result in an hexadecimal string.

Remarks

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

Applies to