-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from pelavall/feature/supporteverqueries
Add a WasEver extension to support the Ever query verb +semver: minor
- Loading branch information
Showing
7 changed files
with
72 additions
and
1 deletion.
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
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
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
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,23 @@ | ||
using System; | ||
using System.Linq.Expressions; | ||
|
||
namespace Microsoft.Qwiq.Linq.WiqlExpressions | ||
{ | ||
public class WasEverExpression : Expression | ||
{ | ||
internal WasEverExpression(Type type, Expression subject, Expression target) | ||
{ | ||
Type = type; | ||
Subject = subject; | ||
Target = target; | ||
} | ||
|
||
public override ExpressionType NodeType => (ExpressionType)WiqlExpressionType.WasEver; | ||
|
||
public override Type Type { get; } | ||
|
||
internal Expression Subject { get; private set; } | ||
internal Expression Target { get; private set; } | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,8 @@ internal enum WiqlExpressionType | |
AsOf, | ||
Contains, | ||
Select, | ||
Indexer | ||
Indexer, | ||
WasEver | ||
} | ||
} | ||
|
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
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