How to use SQL Bulk Copy with Dapper .Net ?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-08 04:51:00

问题


I am working with Dapper .net for Bulk insert operation in SQL Tables. I am thinking to user SQKBulk copy with Dapper .Net but don't have any experience How to use SqlbulkCopy with Dapper .Net

your help is Highly appreciated


回答1:


It is not good idea to use dapper for bulk insert, because there it will not fast. The better case for this is use of SqlBulkCopy class. But if you want use Dapper for bulk insert, you can find solution here.



来源:https://stackoverflow.com/questions/29070108/how-to-use-sql-bulk-copy-with-dapper-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!