Unique Attribute

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
dtheiss
Posts: 1
Joined: Mon 21 Dec 2015 09:40

Unique Attribute

Post by 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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Unique Attribute

Post by 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.

Post Reply