다음을 통해 공유


CaseExpression 생성자

정의

오버로드

CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>)
CaseExpression(IReadOnlyList<CaseWhenClause>, SqlExpression)

검색된 CASE 식을 나타내는 클래스의 CaseExpression 새 instance 만듭니다.

CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>, SqlExpression)

간단한 CASE 식을 나타내는 클래스의 CaseExpression 새 instance 만듭니다.

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))

매개 변수

operand
SqlExpression

적용 대상

CaseExpression(IReadOnlyList<CaseWhenClause>, SqlExpression)

검색된 CASE 식을 나타내는 클래스의 CaseExpression 새 instance 만듭니다.

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)

매개 변수

whenClauses
IReadOnlyList<CaseWhenClause>

조건을 평가하고 결과를 가져올 목록 CaseWhenClause 입니다.

elseResult
SqlExpression

일치하는 항목이 없 WhenClauses 으면 반환할 값입니다(있는 경우).

적용 대상

CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>, SqlExpression)

간단한 CASE 식을 나타내는 클래스의 CaseExpression 새 instance 만듭니다.

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)

매개 변수

operand
SqlExpression

에서 와 비교할 식입니다 TestWhenClauses.

whenClauses
IReadOnlyList<CaseWhenClause>

결과를 비교하고 가져올 목록 CaseWhenClause 입니다.

elseResult
SqlExpression

일치하는 항목이 없 WhenClauses 으면 반환할 값입니다(있는 경우).

적용 대상