By convention, our database only uses stored procedures for INSERT, UPDATE, and DELETE. For some tables / types, there is no DELETE stored procedure, since it is not allowed to delete rows. (You can update this type of status to "deleted"). for example, a client may be marked as remote, but it will never be deleted from the database.
How to prevent the use of Delete () for certain types in the Data Access Layer = in DMBL?
βThe default methods for inserting and updating are mapped to the corresponding stored procedure. But for Delete, it says β use runtime . β I would like to set it toβ not allowed. β
Is there a way to achieve this at the database model level?
Thank you very much
source share