Open Closed

Unique Property Values #9258


1
MapleTech created

Hi, For a regular entity property, a scenario of unique values per entry is a must (making a lookup like entity, with Code string property to be used instead of the ID) how to assure that only unique values allowed at insert?

I know it can be done by customizing the client side insertion (to make client check existing data before allowing the insert or consider it valid for insert) but im making sure you dont have somthing out of the box implemented for such specific scenarios (we faced it many times, doing our own logic and finally discover that your guys already have it implmeneted out of the box).

regards,


1 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @MapleTech,

    AspNet Zero doesn't provide a feature for this out of the box. You can also try to create an INDEX on your database provider.