We are adding additional properties to our objects on the server that we do not track in the database. The data gets returned to the client but the object materialized by breeze does not have it as a property. How can we add properties to our objects that we return to breeze but not map them into the database where we store the data?
Example: Widget Class Property A - Mapped to Database Property B - Has [NotMapped] attribute so that it is not stored in the database. It is calculated on the fly by the server.
When we get the object on the client we get: Widget Class = { Property A: ko.observable(Value for A) }
Property B is missing.
When we look at the json returned by the server we see:
Widget Class = { Property A: Value for A, Property B: Value for B }