Unique Attribute

Unique Attribute

Postby dtheiss » Mon 21 Dec 2015 09:45

Is there any possibility to mark an entity attribute as unique?
If not, is there any event on save to check for uniqueness?
Thanx for your support.

Regards,
dtheiss
dtheiss
 
Posts: 1
Joined: Mon 21 Dec 2015 09:40

Re: Unique Attribute

Postby AlexP » Tue 22 Dec 2015 12:47

Hello,

No, fields have no such property now. You can check availability of a required record by yourself, and perform the needed actions depending on whether the record exists or not.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35


Return to EntityDAC