C# SqlBulkCopy and Data Entities

Posted by KP on Stack Overflow See other posts from Stack Overflow or by KP
Published on 2010-03-31T14:02:10Z Indexed on 2010/03/31 14:03 UTC
Read the original article Hit count: 436

Filed under:
|
|

Guys,

My current project consists of 3 standard layers: data, business, and presentation. I would like to use data entities for all my data access needs. Part of the functionality of the app will that it will need to copy all data within a flat file into a database. The file is not so big so I can use SqlBulkCopy. I have found several articles regarding the usage of SqlBulkCopy class in .NET. However, all the articles are using DataTables to move data back and forth.

Is there a way to use data entities along with SqlBulkCopy or will I have to use DataTables?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#