This is a migrated thread and some comments may be shown as answers.

Auto property support

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexey
Top achievements
Rank 2
Alexey asked on 09 Nov 2008, 09:08 AM
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] 

1 Answer, 1 is accepted

Sort by
0
Accepted
Jan Blessenohl
Telerik team
answered on 10 Nov 2008, 09:16 AM
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.
Tags
General Discussions
Asked by
Alexey
Top achievements
Rank 2
Answers by
Jan Blessenohl
Telerik team
Share this question
or