1 write to m_destCmd
System.Data.Entity (1)
System\Data\Query\InternalTrees\OpCopier.cs (1)
95
m_destCmd
= destCommand;
88 references to m_destCmd
System.Data.Entity (88)
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
199
return OpCopier.Copy(
m_destCmd
, argNode);
System\Data\Query\InternalTrees\OpCopier.cs (87)
124
if (
m_destCmd
!= m_srcCmd)
184
VarVec newVarVec =
m_destCmd
.CreateVarVec(MapVars(vars));
267
return
m_destCmd
.CreateNode(op, ProcessChildren(original));
295
ConstantBaseOp newOp =
m_destCmd
.CreateConstantOp(op.Type, op.Value);
296
return
m_destCmd
.CreateNode(newOp);
307
return
m_destCmd
.CreateNode(
m_destCmd
.CreateNullOp(op.Type));
318
return
m_destCmd
.CreateNode(
m_destCmd
.CreateConstantPredicateOp(op.Value));
329
InternalConstantOp newOp =
m_destCmd
.CreateInternalConstantOp(op.Type, op.Value);
330
return
m_destCmd
.CreateNode(newOp);
341
NullSentinelOp newOp =
m_destCmd
.CreateNullSentinelOp();
342
return
m_destCmd
.CreateNode(newOp);
353
return CopyDefault(
m_destCmd
.CreateFunctionOp(op.Function), n);
364
return CopyDefault(
m_destCmd
.CreatePropertyOp(op.PropertyInfo), n);
375
return CopyDefault(
m_destCmd
.CreateRelPropertyOp(op.PropertyInfo), n);
386
return CopyDefault(
m_destCmd
.CreateCaseOp(op.Type), n);
397
return CopyDefault(
m_destCmd
.CreateComparisonOp(op.OpType), n);
408
return CopyDefault(
m_destCmd
.CreateLikeOp(), n);
419
return CopyDefault(
m_destCmd
.CreateAggregateOp(op.AggFunc, op.IsDistinctAggregate), n);
430
return CopyDefault(
m_destCmd
.CreateNewInstanceOp(op.Type), n);
444
opCopy =
m_destCmd
.CreateScopedNewEntityOp(op.Type, op.RelationshipProperties, op.EntitySet);
449
opCopy =
m_destCmd
.CreateNewEntityOp(op.Type, op.RelationshipProperties);
462
return CopyDefault(
m_destCmd
.CreateDiscriminatedNewEntityOp(op.Type, op.DiscriminatorMap, op.EntitySet, op.RelationshipProperties), n);
473
return CopyDefault(
m_destCmd
.CreateNewMultisetOp(op.Type), n);
484
return CopyDefault(
m_destCmd
.CreateNewRecordOp(op.Type), n);
495
return CopyDefault(
m_destCmd
.CreateRefOp(op.EntitySet, op.Type), n);
513
return
m_destCmd
.CreateNode(
m_destCmd
.CreateVarRefOp(newVar));
524
return CopyDefault(
m_destCmd
.CreateConditionalOp(op.OpType), n);
535
return CopyDefault(
m_destCmd
.CreateArithmeticOp(op.OpType, op.Type), n);
546
TreatOp newTreatOp = op.IsFakeTreat ?
m_destCmd
.CreateFakeTreatOp(op.Type) :
m_destCmd
.CreateTreatOp(op.Type);
558
return CopyDefault(
m_destCmd
.CreateCastOp(op.Type), n);
569
return CopyDefault(
m_destCmd
.CreateSoftCastOp(op.Type), n);
580
return CopyDefault(
m_destCmd
.CreateDerefOp(op.Type), n);
591
return CopyDefault(
m_destCmd
.CreateNavigateOp(op.Type, op.RelProperty), n);
603
return CopyDefault(
m_destCmd
.CreateIsOfOnlyOp(op.IsOfType), n);
605
return CopyDefault(
m_destCmd
.CreateIsOfOp(op.IsOfType), n);
616
return CopyDefault(
m_destCmd
.CreateExistsOp(), n);
627
return CopyDefault(
m_destCmd
.CreateElementOp(op.Type), n);
638
return CopyDefault(
m_destCmd
.CreateGetRefKeyOp(op.Type), n);
649
return CopyDefault(
m_destCmd
.CreateGetEntityRefOp(op.Type), n);
660
return CopyDefault(
m_destCmd
.CreateCollectOp(op.Type), n);
676
ScanTableOp newScan =
m_destCmd
.CreateScanTableOp(op.Table.TableMetadata);
682
return
m_destCmd
.CreateNode(newScan);
694
ScanViewOp newScan =
m_destCmd
.CreateScanViewOp(op.Table.TableMetadata);
701
return
m_destCmd
.CreateNode(newScan, children);
719
Table newTable =
m_destCmd
.CreateTableInstance(op.Table.TableMetadata);
720
UnnestOp newUnnest =
m_destCmd
.CreateUnnestOp(mappedVar, newTable);
726
return
m_destCmd
.CreateNode(newUnnest, children);
744
ProjectOp newProject =
m_destCmd
.CreateProjectOp(newVarSet);
747
return
m_destCmd
.CreateNode(newProject, children);
758
return CopyDefault(
m_destCmd
.CreateFilterOp(), n);
776
SortOp newSortOp =
m_destCmd
.CreateSortOp(newSortKeys);
779
return
m_destCmd
.CreateNode(newSortOp, children);
797
ConstrainedSortOp newSortOp =
m_destCmd
.CreateConstrainedSortOp(newSortKeys, op.WithTies);
800
return
m_destCmd
.CreateNode(newSortOp, children);
815
GroupByOp newGroupOp =
m_destCmd
.CreateGroupByOp(Copy(op.Keys), Copy(op.Outputs));
818
return
m_destCmd
.CreateNode(newGroupOp, children);
833
GroupByIntoOp newGroupOp =
m_destCmd
.CreateGroupByIntoOp(Copy(op.Keys), Copy(op.Inputs), Copy(op.Outputs));
836
return
m_destCmd
.CreateNode(newGroupOp, children);
847
return CopyDefault(
m_destCmd
.CreateCrossJoinOp(), n);
858
return CopyDefault(
m_destCmd
.CreateInnerJoinOp(), n);
869
return CopyDefault(
m_destCmd
.CreateLeftOuterJoinOp(), n);
880
return CopyDefault(
m_destCmd
.CreateFullOuterJoinOp(), n);
891
return CopyDefault(
m_destCmd
.CreateCrossApplyOp(), n);
902
return CopyDefault(
m_destCmd
.CreateOuterApplyOp(), n);
923
Var outputVar =
m_destCmd
.CreateSetOpVar(kv.Key.Type);
943
newSetOp =
m_destCmd
.CreateUnionAllOp(leftMap, rightMap, branchDiscriminator);
949
newSetOp =
m_destCmd
.CreateIntersectOp(leftMap, rightMap);
955
newSetOp =
m_destCmd
.CreateExceptOp(leftMap, rightMap);
966
return
m_destCmd
.CreateNode(newSetOp, children);
1017
DistinctOp newDistinctOp =
m_destCmd
.CreateDistinctOp(newDistinctKeys);
1020
return
m_destCmd
.CreateNode(newDistinctOp, children);
1025
return CopyDefault(
m_destCmd
.CreateSingleRowOp(), n);
1030
return CopyDefault(
m_destCmd
.CreateSingleRowTableOp(), n);
1047
Var newVar =
m_destCmd
.CreateComputedVar(op.Var.Type);
1049
return
m_destCmd
.CreateNode(
m_destCmd
.CreateVarDefOp(newVar), children);
1060
return CopyDefault(
m_destCmd
.CreateVarDefListOp(), n);
1090
PhysicalProjectOp newProject =
m_destCmd
.CreatePhysicalProjectOp(newVarList, newColumnMap);
1093
return
m_destCmd
.CreateNode(newProject, children);
1115
Var newCollectionVar =
m_destCmd
.CreateComputedVar(ci.CollectionVar.Type);
1134
newOp =
m_destCmd
.CreateSingleStreamNestOp(newKeys, newPrefixSortKeys, newPostfixSortKeys, newOutputs, newCollectionInfoList, newDiscriminator);
1138
newOp =
m_destCmd
.CreateMultiStreamNestOp(newPrefixSortKeys, newOutputs, newCollectionInfoList);
1141
return
m_destCmd
.CreateNode(newOp, newChildren);