Property accessors RRS feed

  • Question

  • Hi, I have problem with service when I try to use protected properties. What I'm doing wrong? Is the service supports different accessors? Thanks.
    Friday, December 26, 2008 2:03 PM

All replies

  •  Are you using EF as the underlying provider? If yes, then if you mark the property which is present in the model as protected/internal/private, then we can't access it. We require the properties to be public.

    If you are not using EF, then protected properties won't show up in the data model.

    Hope this helps.

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, December 26, 2008 7:34 PM
  • Yes, I'm using EF. And no way to use protected properties, isn't it?
    Friday, December 26, 2008 11:02 PM