CaseExpression 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
- whenClauses
- IReadOnlyList<CaseWhenClause>
적용 대상
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 으면 반환할 값입니다(있는 경우).
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Entity Framework