CaseExpression Oluşturucular

Tanım

Aşırı Yüklemeler

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

Aranan CASE ifadesini temsil eden sınıfının yeni bir örneğini CaseExpression oluşturur.

CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>, SqlExpression)

Basit bir CASE ifadesini temsil eden sınıfının yeni bir örneğini CaseExpression oluşturur.

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

Parametreler

operand
SqlExpression

Şunlara uygulanır

CaseExpression(IReadOnlyList<CaseWhenClause>, SqlExpression)

Aranan CASE ifadesini temsil eden sınıfının yeni bir örneğini CaseExpression oluşturur.

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)

Parametreler

whenClauses
IReadOnlyList<CaseWhenClause>

Koşulu değerlendirmek CaseWhenClause ve sonucu almak için listesi.

elseResult
SqlExpression

Eşleşme yoksa WhenClauses döndürülecek bir değer (varsa).

Şunlara uygulanır

CaseExpression(SqlExpression, IReadOnlyList<CaseWhenClause>, SqlExpression)

Basit bir CASE ifadesini temsil eden sınıfının yeni bir örneğini CaseExpression oluşturur.

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)

Parametreler

operand
SqlExpression

içinde WhenClauseskarşılaştıracak Test bir ifade.

whenClauses
IReadOnlyList<CaseWhenClause>

Karşılaştırılıp elde edilen sonucun listesi CaseWhenClause .

elseResult
SqlExpression

Eşleşme yoksa WhenClauses döndürülecek bir değer (varsa).

Şunlara uygulanır