[
https://issues.apache.org/jira/browse/IGNITE-5298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330901#comment-16330901
]
Pavel Tupitsyn commented on IGNITE-5298:
----------------------------------------
Another example: http://entityframework-extensions.net/
{code}
context.Customers.Where(x => !x.IsActif)
.UpdateFromQuery(x =>
new Customer {IsActif = true});
{code}
> .NET: DML update via LINQ
> -------------------------
>
> Key: IGNITE-5298
> URL: https://issues.apache.org/jira/browse/IGNITE-5298
> Project: Ignite
> Issue Type: New Feature
> Components: platforms
> Affects Versions: 2.1
> Reporter: Pavel Tupitsyn
> Assignee: Sergey Stronchinskiy
> Priority: Major
> Labels: .NET, LINQ, important
>
> Bulk update with LINQ:
> {code}
> var persons = ignite.GetCache<int, Person>("persons").AsCacheQueryable();
> int affectedRows = persons.Where(x => x.Key > 10).UpdateAll(x =>
> x.Value.OrgId = 7);
> {code}
> See bulk delete with {{RemoveAll}}, IGNITE-4904.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)