I have a data model in which there are is more than one level of inheritance. Jaydata 1.5.6 does not populate the data entities correctly.
Scenario: Make a simple query (toArray) to retrieve Groups from my OData Context. The OData query runs as expected, and I can use Fiddler to see that the data is returned from the service as expected. However, JayData is only populating the data fields in the most-derived level of the class hierarchy.
Observed behaviour:
In an inheritance hierarchy MostDerived->Derived->Base->$data.Entity, only the data fields of the class "MostDerived" are populated. The fields that belong to "Derived" and "Base" are undefined.
Expected behaviour:
In an inheritance hierarchy MostDerived->Derived->Base->$data.Entity, the data fields at all levels of the class hierarchy should be populated with data values.
I have a data model in which there are is more than one level of inheritance. Jaydata 1.5.6 does not populate the data entities correctly.
Scenario: Make a simple query (toArray) to retrieve Groups from my OData Context. The OData query runs as expected, and I can use Fiddler to see that the data is returned from the service as expected. However, JayData is only populating the data fields in the most-derived level of the class hierarchy.
Observed behaviour: In an inheritance hierarchy MostDerived->Derived->Base->$data.Entity, only the data fields of the class "MostDerived" are populated. The fields that belong to "Derived" and "Base" are undefined.
Expected behaviour: In an inheritance hierarchy MostDerived->Derived->Base->$data.Entity, the data fields at all levels of the class hierarchy should be populated with data values.
My class hierarchy is below.