Share via


IntersectExpression Constructor

Definition

Creates a new instance of the IntersectExpression class.

public IntersectExpression (string alias, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression source1, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression source2, bool distinct);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.IntersectExpression : string * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.IntersectExpression
Public Sub New (alias As String, source1 As SelectExpression, source2 As SelectExpression, distinct As Boolean)

Parameters

alias
String

A string alias for the table source.

source1
SelectExpression

A table source which is first source in the set operation.

source2
SelectExpression

A table source which is second source in the set operation.

distinct
Boolean

A bool value indicating whether result will remove duplicate rows.

Applies to