开发者

LINQ to NETEZZA

Does anyone know if it is possible to use LINQ to query a NETEZZA back-end?

Update: I've tried both the ODBC and OLEDB Netezza drivers, but neither work. Both give a "The selected object(s) use 开发者_StackOverflow社区an unsupported data source" error.


We've figured out a way to do this - kinda.

We've created a custom Data Class in the DBML file that reflects the structure of the stored procedure. We then use a stored procedure on Netezza (executed via a table adapter and the Netezza OLE DB driver) to file the class.

Our DAL (data access layer) pretty much just exposes the classes in the DBML to the BLL (business logic layer), so the data class looks and behaves the same as any other LINQ class.

We can't do updates, but that's not important in this instance.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜