CaseWhenClause(SqlExpression, SqlExpression) Constructor
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 a new instance of the CaseWhenClause class.
public CaseWhenClause (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression test, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression result);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.CaseWhenClause
Public Sub New (test As SqlExpression, result As SqlExpression)
Parameters
- test
- SqlExpression
A value to compare with Operand or condition to evaluate.
- result
- SqlExpression
A value to return if test succeeds.
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.
Entity Framework