DbLikeExpression.Escape Property

Definition

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

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Escape { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Escape { get; }
member this.Escape : System.Data.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