Bulk Insert in entity framework RRS feed

  • Question

  • Hi,

    I want to insert multiple records (around 10000) with single data base call using entity frame work.

    i am using entityframework.bulkinsert extensions  

    dll source https://efbulkinsert.codeplex.com/

       Using transactionScope = New TransactionScope()
                ' some stuff in dbcontext
                Context.BulkInsert(entities) 'dim entities as list(of Employee)
            End Using

    but i am getting the error

    i am not getting why this error is comming 

    please help.....

    if any other way to bulk insert please tell.

    thanks in advance.....

    • Edited by Kumar Jalli Monday, September 21, 2015 9:43 AM
    Tuesday, September 15, 2015 2:50 PM

All replies