ef-bulkinsert

Bulk insert is not working properly in Azure SQL Server

本秂侑毒 提交于 2019-11-26 21:55:40
问题 I'm not able to insert the bulk amount of data into Azure SQL server DB using C# webapi Consider I want to insert 60K> data in SQL. In my local sql server there is no problem but in Azure SQL its getting connection timed-out My approach:(All are working in local sql server but not in Azure sql server) 1) Tried using EF its inserting record one by one (For 10000 approx. 10 min,mostly timeout) 2) Tried using Bulk insert Extension along with EF 3) Tried in SqlBulkCopy 4) Tried increasing