DbLikeExpression.Argument Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets an expression that specifies the string to compare against the given pattern.

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

public DbExpression Argument { get; }

Property Value

Type: System.Data.Common.CommandTrees.DbExpression

An expression that specifies the string to compare against the given pattern.

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: