0
safi created
Hi,
I am using abp core latest version and using blazor so created a table from abp suite and now I want to insert only unique names into that entity to prevent duplicate names into db so is there any wany to handle this thing from abp suite.
Thanks,
1 Answer(s)
-
0
Hi @safi,
Suite doesn't have that feature.
You can check if the given value already exist before inserting a new record to database. Then if the value already exists, you can throw a BusinessException to warn the user.