I have been writing few posts about Dapper ORM and ASP.NET MVC3 for data manipulation. In this post I am going to explain how we can delete the data with Dapper ORM. For your reference following are the links of my previous posts.
Playing with dapper Micro ORM and ASP.NET MVC 3.0
Insert with Dapper Micro ORM and ASP.NET MVC 3
Edit/Update with dapper ORM and ASP.NET MVC 3
So to delete customer we need to have delete method in Our CustomerDB class so I have delete method into the CustomerDB class like following.
public bool Delete(int customerId)
View Complete Post