Partilhar via


CaseExpression Construtores

Definição

Sobrecargas

CaseExpression(CaseWhenClause[])

Inicializa uma nova instância da classe CaseExpression.

CaseExpression(IReadOnlyList<CaseWhenClause>, Expression)

Inicializa uma nova instância da classe CaseExpression.

CaseExpression(Expression, CaseWhenClause[])

Inicializa uma nova instância da classe CaseExpression.

CaseExpression(Expression, IReadOnlyList<CaseWhenClause>, Expression)

Inicializa uma nova instância da classe CaseExpression.

CaseExpression(CaseWhenClause[])

Origem:
CaseExpression.cs

Inicializa uma nova instância da classe CaseExpression.

public CaseExpression (params Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause[] whenClauses);
new Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression : Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause[] -> Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression
Public Sub New (ParamArray whenClauses As CaseWhenClause())

Parâmetros

whenClauses
CaseWhenClause[]

A lista de cláusulas when.

Aplica-se a

CaseExpression(IReadOnlyList<CaseWhenClause>, Expression)

Origem:
CaseExpression.cs

Inicializa uma nova instância da classe CaseExpression.

public CaseExpression (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause> whenClauses, System.Linq.Expressions.Expression elseResult);
new Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause> * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression
Public Sub New (whenClauses As IReadOnlyList(Of CaseWhenClause), elseResult As Expression)

Parâmetros

whenClauses
IReadOnlyList<CaseWhenClause>

A lista de cláusulas when.

elseResult
Expression

A expressão de resultado else.

Aplica-se a

CaseExpression(Expression, CaseWhenClause[])

Origem:
CaseExpression.cs

Inicializa uma nova instância da classe CaseExpression.

public CaseExpression (System.Linq.Expressions.Expression operand, params Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause[] whenClauses);
new Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause[] -> Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression
Public Sub New (operand As Expression, ParamArray whenClauses As CaseWhenClause())

Parâmetros

operand
Expression

A expressão de operando de maiúsculas e minúsculas.

whenClauses
CaseWhenClause[]

A lista de cláusulas when.

Aplica-se a

CaseExpression(Expression, IReadOnlyList<CaseWhenClause>, Expression)

Origem:
CaseExpression.cs

Inicializa uma nova instância da classe CaseExpression.

public CaseExpression (System.Linq.Expressions.Expression operand, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause> whenClauses, System.Linq.Expressions.Expression elseResult);
new Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.Expressions.CaseWhenClause> * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.Expressions.CaseExpression
Public Sub New (operand As Expression, whenClauses As IReadOnlyList(Of CaseWhenClause), elseResult As Expression)

Parâmetros

operand
Expression

A expressão de operando de maiúsculas e minúsculas.

whenClauses
IReadOnlyList<CaseWhenClause>

A lista de cláusulas when.

elseResult
Expression

A expressão de resultado else.

Aplica-se a