问题
Has anyone been able to use LINQ with the IBM i? That is without having to write a custom provider?
回答1:
I haven't worked with IBM i directly, but IBM has a page that outlines the limitations of using LINQ to Entities with their product outlined here:
http://www.ibm.com/developerworks/wikis/display/DB2/IBM+Data+Server+LINQ+Entity+Framework+Limitations
Note that there is no (official) support for any other platform but SQL Server when using LINQ-to-SQL, so you won't be able to use it for getting your data.
Your best bet is to use LINQ-to-Entities and the ADO Entity Framework to access this data source.
来源:https://stackoverflow.com/questions/2276490/using-linq-with-ibm-i