DbLikeExpression.Escape 属性

定义

获取一个表达式,该表达式提供用于比较的可选转义字符串。

public System.Data.Entity.Core.Common.CommandTrees.DbExpression Escape { get; }
member this.Escape : System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public ReadOnly Property Escape As DbExpression

属性值

一个表达式,它提供用于比较的可选的转义字符串。

例外

表达式为 null。

表达式不与 的 DbLikeExpression 命令树相关联,或者其结果类型不是字符串类型。

适用于