Click here to Skip to main content
Click here to Skip to main content
Alternatives (1)
Go to top

Using SQL bulk copy with your LINQ-to-SQL datacontext

, 25 Jan 2012
How to use bulk insert with your LINQ-to-SQL datacontext

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

23 Feb 2012
RupertC
If the order of your columns is different in the LINQ to SQL class from that in the database, then you also need to add a column mapping to the bulk copier. Otherwise you get mysterious errors in some of the loaded columns!In my simple fix, I assume that the names match even if the order may...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

No Biography provided

| | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 25 Jan 2012
Article Copyright 2011 by Måns Tånneryd
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid