DbExpressionBuilder.And(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 an DbAndExpression that performs the logical And of the left and right arguments.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbAndExpression ^ And(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbAndExpression And (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member And : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbAndExpression
<Extension()>
Public Function And (left As DbExpression, right As DbExpression) As DbAndExpression
Parameters
- left
- DbExpression
A Boolean expression that specifies the left argument.
- right
- DbExpression
A Boolean expression that specifies the right argument.
Returns
A new DbAndExpression with the specified arguments.
Exceptions
left
or right
is null.
left
and right
does not have a Boolean result type.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.