62 references to Helpers
System.Data.Entity (62)
System\Data\Common\CommandTrees\ExpressionBuilder\Row.cs (1)
30
this.arguments = new System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<string, DbExpression>>(
Helpers
.Prepend(columnValues, columnValue));
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (2)
483
DbExpression newDiscriminatorPredicate =
Helpers
.BuildBalancedTreeInPlace<DbExpression>(new List<DbExpression>(inputPredicateMap.Values), (left, right) => DbExpressionBuilder.Or(left, right));
767
return
Helpers
.GetLeafNodes(expression,
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
4319
DbExpression orExpr = Utils.
Helpers
.BuildBalancedTreeInPlace(args, (prev, next) => prev.Or(next));
System\Data\Common\Utils\MetadataHelper.cs (2)
521
otherEndProperties =
Helpers
.AsSuperTypeList<EdmProperty, EdmMember>(constraint.FromProperties);
526
otherEndProperties =
Helpers
.AsSuperTypeList<EdmProperty, EdmMember>(constraint.ToProperties);
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
312
queryExpression = binding.Filter(
Helpers
.BuildBalancedTreeInPlace(
388
DbExpression predicate =
Helpers
.BuildBalancedTreeInPlace(conditions.Select(c => GeneratePredicate(c, row)).ToArray(), (prev, next) => prev.And(next));
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (5)
281
Helpers
.StringTraceLine(String.Empty);
282
Helpers
.StringTraceLine(String.Empty);
283
Helpers
.FormatTraceLine("================= Generating FK Query View for: {0} =================", aSet.Name);
284
Helpers
.StringTraceLine(String.Empty);
285
Helpers
.StringTraceLine(String.Empty);
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
413
IEnumerable<EdmType> exactTypes =
Helpers
.AsSuperTypeList<ComplexType, EdmType>(complexTypeMap.Types);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (3)
196
Helpers
.AsSuperTypeList<LeafCellTreeNode, CellTreeNode>(newGrandChildren));
203
Helpers
.AsSuperTypeList<OpCellTreeNode, CellTreeNode>(newChildren));
207
Helpers
.AsSuperTypeList<LeafCellTreeNode, CellTreeNode>(commonGrandChildren));
System\Data\Mapping\ViewGeneration\GeneratedView.cs (1)
162
Helpers
.FormatTraceLine("CQL view for {0}", trace.ToString());
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (4)
110
IEnumerable<EdmMember> toProperties =
Helpers
.AsSuperTypeList<EdmProperty, EdmMember>(constraint.ToProperties);
111
if (
Helpers
.IsSetEqual(toProperties, toEntitySet.ElementType.KeyMembers, EqualityComparer<EdmMember>.Default))
140
IEnumerable<EdmMember> toProperties =
Helpers
.AsSuperTypeList<EdmProperty, EdmMember>(constraint.ToProperties);
141
if (
Helpers
.IsSetEqual(toProperties, toEntitySet.ElementType.KeyMembers, EqualityComparer<EdmMember>.Default))
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
1286
Helpers
.FormatTraceLine(msg, parameters);
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (1)
74
Helpers
.StringTraceLine(builder.ToString());
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
252
Helpers
.FormatTraceLine("Changed domain of {0} from {1} - subtract {2}", member, domainMap[member], extra);
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (1)
166
MemberProjectedSlot slot = GetSlotForMember(
Helpers
.AsSuperTypeList<MemberProjectedSlot, ProjectedSlot>(slots), member);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
111
cqt =
Helpers
.BuildBalancedTreeInPlace(operands, (prev, next) => prev.Or(next));
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (1)
150
cqt =
Helpers
.BuildBalancedTreeInPlace(operands, (prev, next) => prev.Or(next));
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (1)
606
if (
Helpers
.IsSetEqual(columnIndexes, endIndexes, EqualityComparer<int>.Default))
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (23)
116
Helpers
.StringTraceLine(builder.ToString());
176
Helpers
.StringTraceLine(builder.ToString());
251
Helpers
.StringTraceLine(String.Empty);
252
Helpers
.StringTraceLine(String.Empty);
253
Helpers
.FormatTraceLine("================= Generating {0} Query View for: {1} ===========================",
256
Helpers
.StringTraceLine(String.Empty);
257
Helpers
.StringTraceLine(String.Empty);
300
Helpers
.StringTraceLine(String.Empty);
301
Helpers
.StringTraceLine(String.Empty);
302
Helpers
.FormatTraceLine("================= Generating {0} View for: {1} ===========================",
304
Helpers
.StringTraceLine(String.Empty);
305
Helpers
.StringTraceLine(String.Empty);
318
Helpers
.StringTraceLine(String.Empty);
319
Helpers
.StringTraceLine(String.Empty);
320
Helpers
.FormatTraceLine("----------------- Validation for generated update view for: {0} -----------------",
322
Helpers
.StringTraceLine(String.Empty);
323
Helpers
.StringTraceLine(String.Empty);
361
Helpers
.FormatTraceLine("CQL View for {0} and type {1}", extent.Name, type.Name);
416
Helpers
.StringTrace("Basic View: ");
417
Helpers
.StringTraceLine(basicView.ToString());
424
Helpers
.StringTraceLine(String.Empty);
425
Helpers
.StringTrace("Simplified View: ");
426
Helpers
.StringTraceLine(simplifiedView.ToString());
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (4)
71
Helpers
.StringTraceLine("");
72
Helpers
.StringTraceLine("<<<<<<<< Generating Query View for Entity [" + entity.Name + "] OfType" + (includeSubtypes ? "" : "Only") + "(" + type.Name + ") >>>>>>>");
106
Helpers
.StringTraceLine(viewGenResults.ErrorsToString());
175
Helpers
.StringTraceLine(viewGenResults.ErrorsToString());
System\Data\Metadata\TypeSemantics.cs (1)
199
return Common.Utils.
Helpers
.GetLeafNodes<TypeUsage>(type, isLeaf, getImmediateSubNodes);
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2236
var cqt = System.Data.Common.Utils.
Helpers
.BuildBalancedTreeInPlace(expressions,
System\Data\Objects\ObjectContext.cs (1)
2223
DbExpression entitySetFilter =
Helpers
.BuildBalancedTreeInPlace(keyFilters, DbExpressionBuilder.Or);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1864
DbExpression predicate =
Helpers
.BuildBalancedTreeInPlace(predicates, (left, right) => left.And(right));
System\Data\Query\PlanCompiler\PlanCompilerUtil.cs (1)
151
return
Helpers
.GetLeafNodes<Node>(predicate,
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2772
IEnumerable<DbExpression> result =
Helpers
.GetLeafNodes(