Condividi tramite


SqlExpressionFactory.AndAlso(SqlExpression, SqlExpression) Method

Definition

Creates a SqlExpression which represents a logical AND operation.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression AndAlso (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression AndAlso (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
abstract member AndAlso : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
override this.AndAlso : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
abstract member AndAlso : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.AndAlso : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function AndAlso (left As SqlExpression, right As SqlExpression) As SqlBinaryExpression
Public Overridable Function AndAlso (left As SqlExpression, right As SqlExpression) As SqlExpression

Parameters

left
SqlExpression

The left operand.

right
SqlExpression

The right operand.

Returns

An expression representing a SQL AND operation.

Implements

Applies to