In this post we are going to Insert data using an UDF. We all know that User-defined functions (UDF) cannot be used to perform actions that modify the database state. Error Occur while Inserting using UDF: Invalid use of the side-affecting operator ‘INSERT’ within a function.
In Our previous article we have seen how to startup with .Net Core. In this article we will take a look on database operation according to previous sample application based previous concept. If you are new to .Net Core, Please read previous post about .Net Core Startup