Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5298

.NET: DML update via LINQ

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.5
    • platforms

    Description

      Bulk update with LINQ:

      var persons = ignite.GetCache<int, Person>("persons").AsCacheQueryable();
      
      int affectedRows = persons.Where(x => x.Key > 10).UpdateAll(x => x.Value.OrgId = 7);
      

      See bulk delete with RemoveAll, IGNITE-4904.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ptupitsyn Pavel Tupitsyn
            ptupitsyn Pavel Tupitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment