我该如何跟一个DBML文件的Oracle数据库? [英] How can I connect an oracle data base with a dbml file?

查看:156
本文介绍了我该如何跟一个DBML文件的Oracle数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用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.

这篇关于我该如何跟一个DBML文件的Oracle数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆