Escape Property
Collapse the table of content
Expand the table of content

DbLikeExpression.Escape Property

 

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

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public DbExpression Escape { get; }

Property Value

Type: System.Data.Common.CommandTrees.DbExpression

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

Exception Condition
ArgumentNullException

The expression is null.

ArgumentException

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

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft