Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3834

Fix inheritance mapping of Person, Student and Instructor in Contoso uni app

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • 0

    Description

      The mapping should be a single Person object with a discriminator that allows a Student or an Instructor to be stored in CB.

      The current modeling adds three docs for each student, person and instructor. Person is empty, so this returns nothing:

      SELECT `c`.`ID`, `c`.`FirstName`, `c`.`LastName`, `c0`.`HireDate`
      FROM `contoso`.`person`.`person` AS `c`
      INNER JOIN `contoso`.`person`.`instructor` AS `c0` ON `c`.`ID` = `c0`.`ID`
      ORDER BY `c`.`LastName`
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty