Exposing data decorated with [notmapped] RRS feed

  • Question

  • I have a poco (code first) model that has a bunch of fields that are decorated with [notmapped]. As such, currently these fields are not being returned in the metadata or in the response from the server. Is there anyway to over ride the OOB implementation for WCF DS? I am hoping there is some way of forcing these fields to be returned. 


    If you would like to see the full explanation, plaease let me know ill be happy to add.

    Wednesday, December 7, 2011 5:45 AM

All replies

  • NotMapped fields should display in the results. When I add a property as not mapped to one of my entities I see the property with a null value. (Or whatever value I set it to)


    Could you possibly provide some more background or possibly some code?





    Friday, December 9, 2011 10:16 PM