27 instantiations of AliasGenerator
System.Data.Entity (27)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
34
private static readonly AliasGenerator _bindingAliases = new
AliasGenerator
("Var_", 0);
System\Data\Objects\DataClasses\RelatedEnd.cs (4)
446
AliasGenerator keyParamNameGen = new
AliasGenerator
(_entityKeyParamName); // Aliases are cached in AliasGenerator
479
AliasGenerator keyParamNameGen = new
AliasGenerator
(_entityKeyParamName); // Aliases are cached in AliasGenerator
538
AliasGenerator paramNameGen = new
AliasGenerator
(_entityKeyParamName); // Aliases are cached in AliasGenerator
619
AliasGenerator keyParamNameGen = new
AliasGenerator
(_entityKeyParamName); // Aliases are cached in AliasGenerator
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
45
private readonly AliasGenerator _aliasGenerator = new
AliasGenerator
("LQ", 0);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
152
info.ColumnNames = new
AliasGenerator
(string.Format(CultureInfo.InvariantCulture, "Span{0}_Column", _spanCount));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (19)
328
private AliasGenerator _applyAliases = new
AliasGenerator
("Apply");
329
private AliasGenerator _distinctAliases = new
AliasGenerator
("Distinct");
330
private AliasGenerator _exceptAliases = new
AliasGenerator
("Except");
331
private AliasGenerator _extentAliases = new
AliasGenerator
("Extent");
332
private AliasGenerator _filterAliases = new
AliasGenerator
("Filter");
333
private AliasGenerator _groupByAliases = new
AliasGenerator
("GroupBy");
334
private AliasGenerator _intersectAliases = new
AliasGenerator
("Intersect");
335
private AliasGenerator _joinAliases = new
AliasGenerator
("Join");
336
private AliasGenerator _projectAliases = new
AliasGenerator
("Project");
337
private AliasGenerator _sortAliases = new
AliasGenerator
("Sort");
338
private AliasGenerator _unionAllAliases = new
AliasGenerator
("UnionAll");
339
private AliasGenerator _elementAliases = new
AliasGenerator
("Element");
340
private AliasGenerator _singleRowTableAliases = new
AliasGenerator
("SingleRowTable");
341
private AliasGenerator _limitAliases = new
AliasGenerator
("Limit");
342
private AliasGenerator _skipAliases = new
AliasGenerator
("Skip");
1144
aliasGenerator = new
AliasGenerator
(columnName);
1207
AliasGenerator colGen = new
AliasGenerator
("C");
1689
AliasGenerator keyAliases = new
AliasGenerator
("K");
1779
AliasGenerator aggAliases = new
AliasGenerator
("A");
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
479
private readonly static AliasGenerator s_parameterNames = new
AliasGenerator
("@", 1000);
56 references to AliasGenerator
System.Data.Entity (56)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
34
private static readonly
AliasGenerator
_bindingAliases = new AliasGenerator("Var_", 0);
2653
internal static
AliasGenerator
AliasGenerator
System\Data\Objects\DataClasses\RelatedEnd.cs (4)
446
AliasGenerator
keyParamNameGen = new AliasGenerator(_entityKeyParamName); // Aliases are cached in AliasGenerator
479
AliasGenerator
keyParamNameGen = new AliasGenerator(_entityKeyParamName); // Aliases are cached in AliasGenerator
538
AliasGenerator
paramNameGen = new AliasGenerator(_entityKeyParamName); // Aliases are cached in AliasGenerator
619
AliasGenerator
keyParamNameGen = new AliasGenerator(_entityKeyParamName); // Aliases are cached in AliasGenerator
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
45
private readonly
AliasGenerator
_aliasGenerator = new AliasGenerator("LQ", 0);
226
internal
AliasGenerator
AliasGenerator { get { return _aliasGenerator; } }
System\Data\Objects\ELinq\OrderByLifter.cs (14)
35
private readonly
AliasGenerator
_aliasGenerator;
37
internal OrderByLifter(
AliasGenerator
aliasGenerator)
82
protected readonly
AliasGenerator
_aliasGenerator;
84
protected OrderByLifterBase(DbExpression root,
AliasGenerator
aliasGenerator)
100
internal static OrderByLifterBase GetLifter(DbExpression source,
AliasGenerator
aliasGenerator)
303
internal LimitSkipLifter(DbLimitExpression limit, DbSkipExpression skip,
AliasGenerator
aliasGenerator)
357
internal LimitSortLifter(DbLimitExpression limit, DbSortExpression sort,
AliasGenerator
aliasGenerator)
414
internal ProjectLimitSkipLifter(DbProjectExpression project, DbLimitExpression limit, DbSkipExpression skip,
AliasGenerator
aliasGenerator)
514
internal ProjectLimitSortLifter(DbProjectExpression project, DbLimitExpression limit, DbSortExpression sort,
AliasGenerator
aliasGenerator)
589
internal ProjectSkipLifter(DbProjectExpression project, DbSkipExpression skip,
AliasGenerator
aliasGenerator)
643
internal SkipLifter(DbSkipExpression skip,
AliasGenerator
aliasGenerator)
693
internal ProjectSortLifter(DbProjectExpression project, DbSortExpression sort,
AliasGenerator
aliasGenerator)
738
internal SortLifter(DbSortExpression sort,
AliasGenerator
aliasGenerator)
775
internal PassthroughOrderByLifter(DbExpression source,
AliasGenerator
aliasGenerator)
System\Data\Objects\Internal\ObjectFullSpanRewriter.cs (1)
52
internal ObjectFullSpanRewriter(DbCommandTree tree, DbExpression toRewrite, Span span,
AliasGenerator
aliasGenerator)
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\ObjectSpanRewriter.cs (7)
42
private readonly
AliasGenerator
_aliasGenerator;
48
internal static bool TryRewrite(DbQueryCommandTree tree, Span span, MergeOption mergeOption,
AliasGenerator
aliasGenerator, out DbExpression newQuery, out SpanIndex spanInfo)
87
internal ObjectSpanRewriter(DbCommandTree tree, DbExpression toRewrite,
AliasGenerator
aliasGenerator)
143
public
AliasGenerator
ColumnNames;
740
internal static DbExpression FindNavigationExpression(DbExpression expression,
AliasGenerator
aliasGenerator, out NavigationInfo navInfo)
766
private readonly
AliasGenerator
_aliasGenerator;
770
private RelationshipNavigationVisitor(
AliasGenerator
aliasGenerator)
System\Data\Query\PlanCompiler\CTreeGenerator.cs (24)
328
private
AliasGenerator
_applyAliases = new AliasGenerator("Apply");
329
private
AliasGenerator
_distinctAliases = new AliasGenerator("Distinct");
330
private
AliasGenerator
_exceptAliases = new AliasGenerator("Except");
331
private
AliasGenerator
_extentAliases = new AliasGenerator("Extent");
332
private
AliasGenerator
_filterAliases = new AliasGenerator("Filter");
333
private
AliasGenerator
_groupByAliases = new AliasGenerator("GroupBy");
334
private
AliasGenerator
_intersectAliases = new AliasGenerator("Intersect");
335
private
AliasGenerator
_joinAliases = new AliasGenerator("Join");
336
private
AliasGenerator
_projectAliases = new AliasGenerator("Project");
337
private
AliasGenerator
_sortAliases = new AliasGenerator("Sort");
338
private
AliasGenerator
_unionAllAliases = new AliasGenerator("UnionAll");
339
private
AliasGenerator
_elementAliases = new AliasGenerator("Element");
340
private
AliasGenerator
_singleRowTableAliases = new AliasGenerator("SingleRowTable");
341
private
AliasGenerator
_limitAliases = new AliasGenerator("Limit");
342
private
AliasGenerator
_skipAliases = new AliasGenerator("Skip");
1130
private static string GenerateNameForVar(Var projectedVar, Dictionary<string,
AliasGenerator
> aliasMap,
1131
AliasGenerator
defaultAliasGenerator, Dictionary<string, string> alreadyUsedNames)
1134
AliasGenerator
aliasGenerator;
1207
AliasGenerator
colGen = new AliasGenerator("C");
1208
Dictionary<string,
AliasGenerator
> aliasMap = new Dictionary<string,
AliasGenerator
>(StringComparer.InvariantCultureIgnoreCase);
1689
AliasGenerator
keyAliases = new AliasGenerator("K");
1779
AliasGenerator
aggAliases = new AliasGenerator("A");
2138
private DbExpression VisitSetOp(SetOp op, Node n,
AliasGenerator
alias, Func<DbExpression, DbExpression, DbExpression> setOpExpressionBuilder)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
479
private readonly static
AliasGenerator
s_parameterNames = new AliasGenerator("@", 1000);