{
"DoesApplicantHaveHousing": {
"Value": 0,
"Name": "Pending"
},
Querying against session Load directly returns the base Enumeration type within the containing entity with Value and Name data functions as expected. Name and Value are populated.
var atp = session.Load<PreAtpQuestionnaire>(key);
However, when querying against a Raven Unit of Work based repository the type returned is the YesNoPendingType and Name and Value are null.
Is this kind of inheritence scenario supported by Raven? I'm not able to see any apparent difference between the two retrievals but the results are different.