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

.NET: DML update via LINQ

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.5
    • Component/s: platforms
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: