AfricaDotNet
www.AfricaDotNet.com Continues the .NET Conversation in Africa

Today's Byte #3: Developing For Oracle Databases

rated by 0 users
Not Answered This post has 0 verified answers | 4 Replies | 1 Follower

Top 10 Contributor
40 Posts
Rad posted on 10-06-2009 9:40 AM

If you're doing development against an Oracle database, you can use the built in Oracle client, System.Data.OracleClient. However this is a bad idea for a two reasons:

  1. It will be deprecated in .NET 4.0
  2. Oracle's provider, ODP.NET is better in several ways:
    • Faster
    • Supports more Oracle features: Associative arrays, server side cursors, etc
    • Better support for large character/binary types (LOB)
    • Supports caching
    • Is updated on Oracle's technology cycle, rather than the .NET framework cycle

All Replies

Top 10 Contributor
Male
25 Posts

Hey Rad, how would i use LINQ when developing against an Oracle database???

Top 10 Contributor
40 Posts

Since Oracle are deafeningly silent on the matter, currently the best way is to use a third party provider. I keep hearing good things about Devart dotConnect. You could also check out the open source dbLinq or LinqToOracle

Top 10 Contributor
Male
5 Posts

Thanks for pointing out that Stephen, I had overlooked it on that perspective and always compared LINQ to other ORM frameworks which always seem to have a common defacto - support for multiple db platforms. I guess IBATIS in combi with Abator.NET would achieve the cross-db-platform ability.

Top 10 Contributor
Male
25 Posts

Thanks guys this is usually a big challenge when developing a site that may need to support different data stores.

Page 1 of 1 (5 items) | RSS
(c) AfricaDotNet
Powered by Community Server (Non-Commercial Edition), by Telligent Systems