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

Odata how to get maxlength (Data Annotations) in $metadata

1 Answer 164 Views
Web Services
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tuan Hoang
Top achievements
Rank 1
Tuan Hoang asked on 07 Jan 2013, 06:18 PM
Hello
I am running OpenAccess with WCF ODATA. With Entity Framework i can have maxlength with Data Annotations but with OpenAccess ORM i can not.
Is there any way to get Data Annotations with OpenAccess WCF Odata $metadata.

Thanks you very much. Sorry for my English.
Tuan Hoang Anh

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 10 Jan 2013, 04:33 PM
Hi Tuan,

 I am afraid that this is not currently possible with OpenAccess and I cannot really provide you with any workaround. 

Greetings,
Petar
the Telerik team
Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
Tags
Web Services
Asked by
Tuan Hoang
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or