forked from dotnet/efcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQueryAnnotation.cs
More file actions
40 lines (32 loc) · 1.05 KB
/
Copy pathQueryAnnotation.cs
File metadata and controls
40 lines (32 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using JetBrains.Annotations;
using Microsoft.Data.Entity.Utilities;
using Remotion.Linq.Clauses;
namespace Microsoft.Data.Entity.Query
{
public class QueryAnnotation
{
private readonly ResultOperatorBase _resultOperator;
private IQuerySource _querySource;
public QueryAnnotation([NotNull] ResultOperatorBase resultOperator)
{
Check.NotNull(resultOperator, "resultOperator");
_resultOperator = resultOperator;
}
public virtual IQuerySource QuerySource
{
get { return _querySource; }
[param: NotNull]
set
{
Check.NotNull(value, "value");
_querySource = value;
}
}
public virtual ResultOperatorBase ResultOperator
{
get { return _resultOperator; }
}
}
}