Auto property support

2 posts, 1 answers
  1. Alexey
    Alexey avatar
    79 posts
    Member since:
    Oct 2008

    Posted 09 Nov 2008 Link to this post

    I failed to create mapping for auto property. I make id of my POCO class to be an auto property and failed to compile assembly which holds my POCO classes and get following error:

    OpenAccess Error: The IdentityField specified is not declared on this class. [class=ClassLibrary1.Product] [field=Id] 

  2. Answer
    Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 10 Nov 2008 Link to this post

    Hi Alexey,

    At the moment auto properties are not supported. I hope that we can do it for the next release. At the moment you have to write a little more code.


    All the best,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top