[ 
https://issues.apache.org/jira/browse/IGNITE-5298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096383#comment-16096383
 ] 

Pavel Tupitsyn commented on IGNITE-5298:
----------------------------------------

[~GuruStron]

Initializer syntax is nice, but has too many limitations. Read-only entities 
(no parameterless ctor, read-only properties) are quite common, this is a good 
design, we should support that.

I like the {{Moq}} approach. It is clean, readable, has no limitations. {{Moq}} 
is very popular, so this will be familiar to many developers. Let's go this way.

> .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
>              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
(v6.4.14#64029)

Reply via email to