RelationalDbFunctionsExtensions.JsonPathExists 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个值,该值指示指定 JSON 中是否存在给定的 JSON 路径。
public static bool JsonPathExists(this Microsoft.EntityFrameworkCore.DbFunctions _, object json, string path);
static member JsonPathExists : Microsoft.EntityFrameworkCore.DbFunctions * obj * string -> bool
<Extension()>
Public Function JsonPathExists (_ As DbFunctions, json As Object, path As String) As Boolean
参数
DbFunctions 实例。
- json
- Object
要检查的 JSON 值。
- path
- String
要查找的 JSON 路径。