C# Winform with Sqlite database duplicated insertion

Mar 25 2021 5:01 AM
Hi there,
I have a c# winform app.
I'm using Dapper to insert a bunch of data to database table called tbProducts
when it insert I get duplicated rows of an insertion. I pass ProductModel class to db.InsertNewProductModel method. I uploaded my code.
 
Anyhelp is appreciated 

Answers (2)