DbExpressionBuilder.Equal(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DbComparisonExpression that compares the left and right arguments for equality.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbComparisonExpression ^ Equal(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbComparisonExpression Equal (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Equal : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbComparisonExpression
<Extension()>
Public Function Equal (left As DbExpression, right As DbExpression) As DbComparisonExpression
Parameters
- left
- DbExpression
An expression that specifies the left argument.
- right
- DbExpression
An expression that specifies the right argument.
Returns
A new DbComparisonExpression representing the equality comparison.
Exceptions
left
or right
is null.
No common equality-comparable result type exists between left
and right
.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.