DmitrySikorsky / AspNetCoreDapperSqlServerUpdateChildItems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASP.NET Core, Dapper, and Microsoft SQL Server: Update the Child Items Using the MERGE Statement

This is a demo web application for the “ASP.NET Core, Dapper, and Microsoft SQL Server: Update the Child Items Using the MERGE Statement” post on the Dmitry Sikorsky’s blog. It demonstrates how to use the MERGE statement to perform insert, update, or delete operations on a target table based on the results of a join with a source table.

Using the Application

  1. Create a database and run the db.sql to create its structure.
  2. Fix the connection string inside the appsettings.json.
  3. Run and debug the application.
  4. Check the database.

About

License:Other


Languages

Language:C# 100.0%