CaseExpression Constructors
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.
Overloads
CaseExpression(CaseWhenClause[]) |
Initializes a new instance of the CaseExpression class. |
CaseExpression(IReadOnlyList<CaseWhenClause>, Expression) |
Initializes a new instance of the CaseExpression class. |
CaseExpression(Expression, CaseWhenClause[]) |
Initializes a new instance of the CaseExpression class. |
CaseExpression(Expression, IReadOnlyList<CaseWhenClause>, Expression) |
Initializes a new instance of the CaseExpression class. |
CaseExpression(CaseWhenClause[])
- Source:
- CaseExpression.cs
Initializes a new instance of the CaseExpression class.
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())
Parameters
- whenClauses
- CaseWhenClause[]
The list of when clauses.
Applies to
CaseExpression(IReadOnlyList<CaseWhenClause>, Expression)
- Source:
- CaseExpression.cs
Initializes a new instance of the CaseExpression class.
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)
Parameters
- whenClauses
- IReadOnlyList<CaseWhenClause>
The list of when clauses.
- elseResult
- Expression
The else result expression.
Applies to
CaseExpression(Expression, CaseWhenClause[])
- Source:
- CaseExpression.cs
Initializes a new instance of the CaseExpression class.
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())
Parameters
- operand
- Expression
The case operand expression.
- whenClauses
- CaseWhenClause[]
The list of when clauses.
Applies to
CaseExpression(Expression, IReadOnlyList<CaseWhenClause>, Expression)
- Source:
- CaseExpression.cs
Initializes a new instance of the CaseExpression class.
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)
Parameters
- operand
- Expression
The case operand expression.
- whenClauses
- IReadOnlyList<CaseWhenClause>
The list of when clauses.
- elseResult
- Expression
The else result expression.
Applies to
Entity Framework