我想使用Oracle使用LINQ的最好办法是将数据库表映射到手工dbml的文件。我说得对?
I think the best way to use Oracle with LINQ is to map the data base tables into the dbml file by hand. Am I right?
当我已经做到了,然后呢?我怎样才能用的dbml文件连接数据基础?
When I have done it, then what? How can i connect the data base with the dbml file?
有第三方LINQ提供比MSSQL数据库等:
There are 3rd party Linq providers for databases other than MSSQL:
LinqToOracle 和的 的DBLinq。后者的作品也SQLite的,MySQL和等。所以,不,你不必手动创建dbml的文件。
LinqToOracle and DBLinq. The latter works also on SqLite, MySql, and such. So no, you don't have to create dbml files by hand.
还有一个很好的和明确的教程这里解释如何准备用的DBLinq。虽然采用的是MySQL数据库作为一个例子,这并不重要,因为你可以与Oracle替换任何MySql的具体信息。
There's also a nice and clear tutorial here that explains how to get ready with DBLinq. Although it uses a MySql database as an example, that doesn't really matter, as you can just replace any MySql specific information with Oracle.