Compartilhar via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateUnion Método

Definição

Converte o Union<TSource>(IQueryable<TSource>, IEnumerable<TSource>) método sobre a origem fornecida.

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateUnion (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateUnion (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
override this.TranslateUnion : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateUnion (source1 As ShapedQueryExpression, source2 As ShapedQueryExpression) As ShapedQueryExpression

Parâmetros

source1
ShapedQueryExpression

A consulta em forma na qual o operador é aplicado.

source2
ShapedQueryExpression

A outra fonte com a qual realizar a união.

Retornos

A consulta em forma após a tradução.

Aplica-se a