none
How to do bulk inserts from my IEnumrable<T> data to my db? RRS feed

  • Question

  • Hi Guys,

    I have SQL connection and IEnumerable<T> data

    And I want to Implement function which reads Ienumrable data and does bulkcopy to my backend 

    conn.BulkCopy(tableName, data);

    TableName is a table which will be created in my db. Can someone help me doing this?

    Thanks

    Saturday, March 2, 2013 1:24 AM

Answers