2 instantiations of Span
System.Data.Entity (2)
System\Data\Objects\Span.cs (2)
61
spanToIncludeIn = new
Span
();
165
Span newSpan = new
Span
();
51 references to Span
System.Data.Entity (51)
System\Data\Objects\ELinq\ELinqQueryState.cs (1)
234
/// so the <see cref="
Span
"/> property is always <c>null</c> on the returned instance.
System\Data\Objects\ELinq\ExpressionConverter.cs (13)
39
private Dictionary<DbExpression,
Span
> _spanMappings;
42
private
Span
_span;
223
internal
Span
PropagatedSpan { get { return _span; } }
345
private DbExpression AddSpanMapping(DbExpression expression,
Span
span)
351
_spanMappings = new Dictionary<DbExpression,
Span
>();
353
Span
storedSpan = null;
356
foreach (
Span
.SpanPath sp in span.SpanList)
377
private bool TryGetSpan(DbExpression expression, out
Span
span)
399
Span
argumentSpan;
423
Span
leftSpan = null;
424
Span
rightSpan = null;
434
AddSpanMapping(to,
Span
.CopyUnion(leftSpan, rightSpan));
848
Span
span;
System\Data\Objects\ELinq\MethodCallTranslator.cs (8)
436
Span
span;
457
span =
Span
.IncludeIn(span, includePath);
489
Span
span;
506
Debug.Assert(call.Object != null && call.Arguments.Count == 1 && call.Arguments[0] != null && call.Arguments[0].Type.Equals(typeof(
Span
)), "Invalid IncludeSpan arguments?");
508
Span
span = (
Span
)((ConstantExpression)call.Arguments[0]).Value;
2314
Span
inputSpan = null;
2421
Span
inputSpan = null;
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (9)
113
private static ObjectQueryState NewBuilderQuery(ObjectQueryState sourceQuery, Type elementType, StringBuilder queryText,
Span
newSpan, IEnumerable<ObjectParameter> enumerableParams)
118
private static ObjectQueryState NewBuilderQuery(ObjectQueryState sourceQuery, Type elementType, StringBuilder queryText, bool allowsLimit,
Span
newSpan, IEnumerable<ObjectParameter> enumerableParams)
153
private static ObjectQueryState BuildSetOp(ObjectQueryState leftQuery, ObjectQueryState rightQuery,
Span
newSpan, string setOp)
377
Span
newSpan =
Span
.CopyUnion(leftQuery.Span, rightQuery.Span);
567
Span
newSpan =
Span
.CopyUnion(leftQuery.Span, rightQuery.Span);
584
Span
newSpan =
Span
.CopyUnion(leftQuery.Span, rightQuery.Span);
System\Data\Objects\Internal\EntitySqlQueryState.cs (3)
63
internal EntitySqlQueryState(Type elementType, string commandText, bool allowsLimit, ObjectContext context, ObjectParameterCollection parameters,
Span
span)
84
internal EntitySqlQueryState(Type elementType, string commandText, DbExpression expression, bool allowsLimit, ObjectContext context, ObjectParameterCollection parameters,
Span
span)
133
ObjectQueryState retState = new EntitySqlQueryState(this.ElementType, _queryText, _queryExpression, _allowsLimit, this.ObjectContext, ObjectParameterCollection.DeepCopy(this.Parameters),
Span
.IncludeIn(this.Span, includePath));
System\Data\Objects\Internal\ObjectFullSpanRewriter.cs (2)
52
internal ObjectFullSpanRewriter(DbCommandTree tree, DbExpression toRewrite,
Span
span, AliasGenerator aliasGenerator)
80
foreach (
Span
.SpanPath path in span.SpanList)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
51
internal static ObjectQueryExecutionPlan Prepare(ObjectContext context, DbQueryCommandTree tree, Type elementType, MergeOption mergeOption,
Span
span, CompiledQueryParameters compiledQueryParameters, AliasGenerator aliasGenerator)
System\Data\Objects\Internal\ObjectQueryState.cs (3)
57
private
Span
_span;
81
protected ObjectQueryState(Type elementType, ObjectContext context, ObjectParameterCollection parameters,
Span
span)
145
internal
Span
Span
System\Data\Objects\Internal\ObjectSpanRewriter.cs (2)
48
internal static bool TryRewrite(DbQueryCommandTree tree,
Span
span, MergeOption mergeOption, AliasGenerator aliasGenerator, out DbExpression newQuery, out SpanIndex spanInfo)
54
bool requiresRelationshipSpan =
Span
.RequiresRelationshipSpan(mergeOption);
System\Data\Objects\ObjectQuery_TResultType.cs (1)
157
internal ObjectQuery<T> IncludeSpan(
Span
span)
System\Data\Objects\Span.cs (8)
57
internal static
Span
IncludeIn(
Span
spanToIncludeIn, string pathToInclude)
80
internal static
Span
CopyUnion(
Span
span1,
Span
span2)
92
Span
retSpan = span1.Clone();
163
internal
Span
Clone()
165
Span
newSpan = new Span();