LuigimonSoft/DapperEntityORM

Add Validations for Fields in Insert and Update Methods and Create IsValid Method

Closed this issue · 0 comments

Currently, our application's insert and update methods do not have any validations for the fields, which can lead to incorrect or incomplete data being saved to the database. It is essential to implement field validations in both insert and update methods to ensure the data is correct and complete.

Additionally, we need to create a new method called "IsValid" that will verify whether the instance is valid in all its properties. This method will help us to ensure that all data is valid before it is saved to the database.