enum attribute for enumfield

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
McMlok
Posts: 26
Joined: Tue 04 Jun 2013 13:01

enum attribute for enumfield

Post by McMlok » Fri 28 Jun 2013 12:33

Hello,

is there any posibility to add custom attribute to enumField witch is defined in edml file? I want add display attribute to all fields for translating on UI.

Thanks

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: enum attribute for enumfield

Post by Shalex » Wed 03 Jul 2013 14:50

You can do that via Entity Developer interface in the following way. Add the reference to the assembly with the needed attribute via Model > Settings > Model > Attributes. After this, add the display attribute to the model and a particular enumField property.

McMlok
Posts: 26
Joined: Tue 04 Jun 2013 13:01

Re: enum attribute for enumfield

Post by McMlok » Thu 04 Jul 2013 07:03

But in context menu for enumItem I cannot see Attributes like on context menu for Enum, class. Same in properties window.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: enum attribute for enumfield

Post by Shalex » Thu 04 Jul 2013 10:58

We have reproduced the issue with enum members. We will post here when it is fixed.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: enum attribute for enumfield

Post by Shalex » Thu 25 Jul 2013 09:06

The possibility of adding custom attributes to enum members is implemented. We will notify you when the corresponding build of dotConnect for Oracle is available for download.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: enum attribute for enumfield

Post by Shalex » Thu 08 Aug 2013 15:19

New build of dotConnect for Oracle 7.8.301 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=1&t=27701.

Post Reply