enum attribute for enumfield

enum attribute for enumfield

Postby 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
McMlok
 
Posts: 20
Joined: Tue 04 Jun 2013 13:01

Re: enum attribute for enumfield

Postby 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.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: enum attribute for enumfield

Postby 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.
McMlok
 
Posts: 20
Joined: Tue 04 Jun 2013 13:01

Re: enum attribute for enumfield

Postby Shalex » Thu 04 Jul 2013 10:58

We have reproduced the issue with enum members. We will post here when it is fixed.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: enum attribute for enumfield

Postby 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
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: enum attribute for enumfield

Postby 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.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle