locked
ignore properties is not working on WCF data services 5.0.1 RRS feed

  • Question

  • Hi,

    I'm trying to hide some of the properties in my Data model using the IgnoreProperties attributes.

    I'm using Data services 5.0.1 and I verified that my code references the correct version of the Data services dlls. I'm using the entity framework provider  and I'm not getting any compilation errors but when I view the results the properties that were marked as ignored still appear.

    Does anyone manages to work with ignore properties in 5.0.1.

    Thanks,

    roni

    Thursday, August 2, 2012 10:08 AM

All replies

  • How are you using this attribute, can you share code sample  
    Thursday, August 2, 2012 10:39 AM
  • IgnoreProperties attribute only works for reflection service provider. It is currently not supported for entity framework provider at all.

    Thanks

    Pratik


    This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, August 3, 2012 1:22 PM
    Moderator