Share via


DbLikeExpression.Escape Property

Definition

Gets an expression that provides an optional escape string to use for the comparison.

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

Property Value

An expression that provides an optional escape string to use for the comparison.

Exceptions

The expression is null.

The expression is not associated with the command tree of DbLikeExpression , or its result type is not a string type.

Applies to