You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Expressions/Expressions/ClientJoinExpression.cs

20 lines
716 B

using Connected.Expressions.Collections;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
namespace Connected.Expressions;
public sealed class ClientJoinExpression : DatabaseExpression
{
public ClientJoinExpression(ProjectionExpression projection, IEnumerable<Expression> outerKey, IEnumerable<Expression> innerKey)
: base(DatabaseExpressionType.ClientJoin, projection.Type)
{
OuterKey = outerKey.ToReadOnly();
InnerKey = innerKey.ToReadOnly();
Projection = projection;
}
public ReadOnlyCollection<Expression> OuterKey { get; }
public ReadOnlyCollection<Expression> InnerKey { get; }
public ProjectionExpression Projection { get; }
}