none
RIA attribute to ignore a property?

    Question

  • Hi guys -

    I have a class that has quite a few properties with Enum types. I understand the RIA cannot deal with these, so at least for now I would like RIA to just ignore them so I can move on.

    Is there an attribute you can add to a property for RIA to ignore it? I did not see anything in DataAnnonations. I tried Bindable and Browsable and RIA did not seem to care.

    Is there any way to get RIA to ignore these properties?

    Thanks!

    Tuesday, November 10, 2009 1:41 PM

Answers

  • Exclude

    (You won't find it in DataAnnotations. Exclude is a command to the DomainService not a data annotation so it, like Include, is in the System.Web.DomainServices namespace.)

    Tuesday, November 10, 2009 1:43 PM

All replies