CaseExpression Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>) | |
CaseExpression(IReadOnlyList<CaseWhenClause>, SqlExpression) |
Crea una nuova istanza della classe che rappresenta un'espressione CaseExpression CASE cercata. |
CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>, SqlExpression) |
Crea una nuova istanza della CaseExpression classe che rappresenta un'espressione CASE semplice. |
CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>)
public CaseExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> whenClauses);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseExpression
Public Sub New (operand As SqlExpression, whenClauses As IReadOnlyList(Of CaseWhenClause))
Parametri
- operand
- SqlExpression
- whenClauses
- IReadOnlyList<CaseWhenClause>
Si applica a
CaseExpression(IReadOnlyList<CaseWhenClause>, SqlExpression)
Crea una nuova istanza della classe che rappresenta un'espressione CaseExpression CASE cercata.
public CaseExpression (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> whenClauses, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression elseResult);
public CaseExpression (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> whenClauses, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression elseResult = default);
public CaseExpression (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> whenClauses, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? elseResult = default);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseExpression : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseExpression
Public Sub New (whenClauses As IReadOnlyList(Of CaseWhenClause), elseResult As SqlExpression)
Public Sub New (whenClauses As IReadOnlyList(Of CaseWhenClause), Optional elseResult As SqlExpression = Nothing)
Parametri
- whenClauses
- IReadOnlyList<CaseWhenClause>
Elenco di CaseWhenClause da cui valutare la condizione e ottenere risultati.
- elseResult
- SqlExpression
Valore da restituire se nessuna WhenClauses corrispondenza, se disponibile.
Si applica a
CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>, SqlExpression)
Crea una nuova istanza della CaseExpression classe che rappresenta un'espressione CASE semplice.
public CaseExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> whenClauses, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression elseResult);
public CaseExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> whenClauses, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression elseResult = default);
public CaseExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> whenClauses, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? elseResult = default);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseExpression
Public Sub New (operand As SqlExpression, whenClauses As IReadOnlyList(Of CaseWhenClause), elseResult As SqlExpression)
Public Sub New (operand As SqlExpression, whenClauses As IReadOnlyList(Of CaseWhenClause), Optional elseResult As SqlExpression = Nothing)
Parametri
- operand
- SqlExpression
Espressione da confrontare con Test in WhenClauses.
- whenClauses
- IReadOnlyList<CaseWhenClause>
Elenco di CaseWhenClause da cui confrontare e ottenere risultati.
- elseResult
- SqlExpression
Valore da restituire se nessuna WhenClauses corrispondenza, se disponibile.