语言

SqliteDbFunctionsExtensions 类

定义

包含Microsoft的扩展方法DbFunctions。EntityFrameworkCore.Sqlite 提供程序。

[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 数据库 。

方法

名称 说明
Glob(DbFunctions, String, String)

映射到 SQLite glob 函数,该函数类似于 Like(DbFunctions, String, String) 但改用文件系统的语法。

Hex(DbFunctions, Byte[])

映射到 SQLite hex 函数,该函数返回表示指定值的十六进制字符串。

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

映射到 SQLite 子字符串函数,该函数返回指定值的子数组。 子数组从指定位置 startIndex 开始并具有指定的 length。

Substr(DbFunctions, Byte[], Int32)

映射到返回指定值的子数组的 SQLite substr 函数。 子数组从 startIndex 值开始并继续结束。

Unhex(DbFunctions, String, String)

映射到 SQLite unhex 函数,该函数返回表示十六进制字符串解码的 BLOB。

Unhex(DbFunctions, String)

映射到 SQLite unhex 函数,该函数返回表示十六进制字符串解码的 BLOB。

适用于