語言

SqliteDbFunctionsExtensions 類別

定義

包含 Microsoft 的擴充方法。DbFunctionsEntityFrameworkCore.Sqlite provider.

[System.Runtime.CompilerServices.Nullable(0)]
public static class SqliteDbFunctionsExtensions
public static class SqliteDbFunctionsExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqliteDbFunctionsExtensions = class
type SqliteDbFunctionsExtensions = class
Public Module SqliteDbFunctionsExtensions
繼承
SqliteDbFunctionsExtensions
屬性

備註

更多資訊與範例請參閱 資料庫函式及使用 EF Core 存取 SQLite 資料庫 。

方法

名稱 Description
Glob(DbFunctions, String, String)

映射到 SQLite glob 函式,類似 Like(DbFunctions, String, String) 但使用檔案系統的 globb 語法。

Hex(DbFunctions, Byte[])

映射到 SQLite hex 函式,回傳代表指定值的十六進位字串。

Substr(DbFunctions, Byte[], Int32, Int32)

映射到 SQLite substr 函式,回傳指定值的子陣列。 子陣列起始於 , startIndex 且具有指定的 length。

Substr(DbFunctions, Byte[], Int32)

映射到 SQLite substr 函式,回傳指定值的子陣列。 子陣列從 開始 startIndex ,一直到該值的末端。

Unhex(DbFunctions, String, String)

映射到 SQLite unhex 函式,該函式回傳一個代表十六進位字串解碼的 BLOB。

Unhex(DbFunctions, String)

映射到 SQLite unhex 函式,該函式回傳一個代表十六進位字串解碼的 BLOB。

適用於