-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
InMemory: Support for GroupBy aggregate
- Loading branch information
Showing
18 changed files
with
723 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/EFCore.InMemory/Query/Internal/InMemoryGroupByShaperExpression.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using System.Linq.Expressions; | ||
using Microsoft.EntityFrameworkCore.Query; | ||
|
||
namespace Microsoft.EntityFrameworkCore.InMemory.Query.Internal | ||
{ | ||
public class InMemoryGroupByShaperExpression : GroupByShaperExpression | ||
{ | ||
public InMemoryGroupByShaperExpression( | ||
Expression keySelector, | ||
Expression elementSelector, | ||
ParameterExpression groupingParameter, | ||
ParameterExpression valueBufferParameter) | ||
: base(keySelector, elementSelector) | ||
{ | ||
GroupingParameter = groupingParameter; | ||
ValueBufferParameter = valueBufferParameter; | ||
} | ||
|
||
public virtual ParameterExpression GroupingParameter { get; } | ||
public virtual ParameterExpression ValueBufferParameter { get; } | ||
} | ||
} |
Oops, something went wrong.