Uploaded image for project: 'Entity Framework'
  1. Entity Framework
  2. EF-34

Implement read/write/query functionality for entities with composite key configured

    XMLWordPrintableJSON

Details

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Unknown Unknown
    • None
    • None
    • None

    Description

      EF entity could have several properties marked as a PrimaryKey. On other hand MongoDB require PK to be a single field named "_id". In case of composite keys there should be a nested document created, for example:

      {
        _id: { OrderId : 1, ProductId : "ABC" },
        ...
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            oleksandr.poliakov@mongodb.com Oleksandr Poliakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty