SqliteDbFunctionsExtensions.Unhex 方法

定義

多載

Unhex(DbFunctions, String)

對應至 SQLite unhex 函式,此函式會傳回代表十六進位字串解碼的 BLOB。

Unhex(DbFunctions, String, String)

對應至 SQLite unhex 函式,此函式會傳回代表十六進位字串解碼的 BLOB。

Unhex(DbFunctions, String)

對應至 SQLite unhex 函式,此函式會傳回代表十六進位字串解碼的 BLOB。

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()

參數

_
DbFunctions

DbFunctions 執行個體。

value
String

十六進位字串。

傳回

Byte[]

將十六進位字串解碼為二進位值。

備註

如需詳細資訊和範例,請參閱使用 EF Core 存取 SQLite 資料庫和資料庫函式。

適用於

Unhex(DbFunctions, String, String)

對應至 SQLite unhex 函式,此函式會傳回代表十六進位字串解碼的 BLOB。

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()

參數

_
DbFunctions

DbFunctions 執行個體。

value
String

十六進位字串。

ignoreChars
String

中忽略的 value 字元。

傳回

Byte[]

將十六進位字串解碼為二進位值。

備註

如需詳細資訊和範例,請參閱使用 EF Core 存取 SQLite 資料庫和資料庫函式。

適用於