ADO.NET way for creating a linked table

前端 未结 1 1005
生来不讨喜
生来不讨喜 2021-01-06 07:59

I\'m writing an application that uses ADO.NET OLEDB provider. Database is Access. Most of DB interaction is through DDL/DML SQL queries.

I now need to create linked

相关标签:
1条回答
  • 2021-01-06 08:31

    There's not a way around the extra dependency. Linked Tables are a propertiary feature of MS ACCESS, and ADO.NET doesn't know how to do what you want it to do. Access would have to expose this through the SQL commands it accepts, and it doesn't, it's exposed to the extent that it is, through VBA. So you can control it from within the Access DB, but not from outside -- from a ADO.NET connection, all you can do is issue SQL statements that it know how to interpret.

    0 讨论(0)
提交回复
热议问题