Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Unique Property Values #9258


User avatar
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,


2 Answer(s)
  • User Avatar
    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.

  • User Avatar
    0
    MapleTech created

    ok thanks