2 instantiations of DbSetClause
System.Data.Entity (2)
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
188
DbSetClause newClause = new
DbSetClause
(inputIdentifier.Value.Property, DbExpressionBuilder.Constant(value));
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
337
result.Add(new
DbSetClause
(
26 references to DbSetClause
System.Data.Entity (26)
System\Data\Common\CommandTrees\BasicCommandTreeVisitor.cs (2)
24
protected virtual void VisitSetClause(
DbSetClause
setClause)
35
this.VisitSetClause((
DbSetClause
)modificationClause);
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (20)
28
private readonly List<KeyValuePair<int,
DbSetClause
>> m_inputIdentifiers;
47
m_inputIdentifiers = new List<KeyValuePair<int ,
DbSetClause
>>(capacity);
53
DbSetClause
setter;
61
m_inputIdentifiers.Add(new KeyValuePair<int,
DbSetClause
>(principal, setter));
70
private static bool TryGetSetterExpression(DbModificationCommandTree tree, EdmMember member, ModificationOperator op, out
DbSetClause
setter)
82
foreach (
DbSetClause
setClause in clauses)
179
Dictionary<
DbSetClause
,
DbSetClause
> modifiedClauses = new Dictionary<
DbSetClause
,
DbSetClause
>();
182
KeyValuePair<int,
DbSetClause
> inputIdentifier = m_inputIdentifiers[idx];
188
DbSetClause
newClause = new DbSetClause(inputIdentifier.Value.Property, DbExpressionBuilder.Constant(value));
190
m_inputIdentifiers[idx] = new KeyValuePair<int,
DbSetClause
>(inputIdentifier.Key, newClause);
199
private DbModificationCommandTree RebuildCommandTree(DbModificationCommandTree originalTree, Dictionary<
DbSetClause
,
DbSetClause
> clauseMappings)
227
private List<DbModificationClause> ReplaceClauses(IList<DbModificationClause> originalClauses, Dictionary<
DbSetClause
,
DbSetClause
> mappings)
232
DbSetClause
replacementClause;
233
if (mappings.TryGetValue((
DbSetClause
)originalClauses[idx], out replacementClause))
259
foreach (KeyValuePair<int,
DbSetClause
> inputIdentifier in m_inputIdentifiers)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (4)
53
foreach (
DbSetClause
setClause in tree.SetClauses)
169
foreach (
DbSetClause
setClause in tree.SetClauses)
210
foreach (
DbSetClause
setClause in tree.SetClauses)
244
HashSet<EdmMember> columnsWithValues = new HashSet<EdmMember>(tree.SetClauses.Cast<
DbSetClause
>().Select(s => ((DbPropertyExpression)s.Property).Property));