开发者

EF4 Code only ctp5: how set connectionstring devart oracle?

开发者 https://www.devze.com 2023-02-15 08:06 出处:网络
hi i have devart oracle provider 6(BETA), and want use code only ctp5...how i c开发者_C百科an set connectionstring for oracle?i started now with Code only and i need use oracle, anyone can help me?You

hi i have devart oracle provider 6(BETA), and want use code only ctp5...how i c开发者_C百科an set connectionstring for oracle?i started now with Code only and i need use oracle, anyone can help me?


You can find example and tutorial about Code-First usage by the following link - http://www.devart.com/blogs/dotconnect/index.php/entity-framework-code-first-support-for-oracle-mysql-postgresql-and-sqlite.html


OracleConnection you have to add refference: Devart.Oracle.Data i think.

it's very simple, if you do have any questions i use it too and i write code only applications.


OracleConnection(ConfigurationManager.ConnectionStrings["OracleConnection"].ConnectionString)

I am doing it like so.

using Devart.Data.Oracle;

0

精彩评论

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