sqlbulkcopy using sql CE

前端 未结 4 2057
天命终不由人
天命终不由人 2020-11-30 07:12

Is it possible to use SqlBulkcopy with Sql Compact Edition e.g. (*.sdf) files?

I know it works with SQL Server 200 Up, but wanted to check CE compatibility.

4条回答
  •  -上瘾入骨i
    2020-11-30 07:27

    No, I don't think that SqlBulkCopy is supported (see MSDN). Perhaps throw the data in as xml and strip it apart at the server? SQL/XML is pretty good in 2005/2008.

    You might also want to look at table-value-parameters, but I doubt that CE supports these.

提交回复
热议问题