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

.NET: DML update via LINQ

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: