ADO.NET misunderstanding

View: New views
6 Messages — Rating Filter:   Alert me  

ADO.NET misunderstanding

by pmatos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

Initially I thought ADO.NET was like OJB for Java, an object relational bridge. After some searching it just seems to be a connectivity API to different data sources but doesn't provide a object relational bridge. Is there anything similar to OBJ for C# in Mono?

Cheers,

Paulo Matos

Re: ADO.NET misunderstanding

by Stéphane Zanoni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

May be what your looking for:

http://www.castleproject.org/activerecord/index.html 

I haven't used it yet, but will when the need arises.  It also provides
database portability via NHibernate.  Might want to check it out.

There are of course a couple commercial options as well, may want to
look for:

http://google.com/search?q=ORM+.NET


Stéphane

>>> pmatos <pocm@...> 6/5/2008 8:42 AM >>>

Hello all,

Initially I thought ADO.NET was like OJB for Java, an object
relational
bridge. After some searching it just seems to be a connectivity API to
different data sources but doesn't provide a object relational bridge.
Is
there anything similar to OBJ for C# in Mono?

Cheers,

Paulo Matos
--
View this message in context:
http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html

Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: ADO.NET misunderstanding

by Tom Opgenorth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If what you're looking for is an ORM, then you might want to take a
peak at either NHibernate (http://www.nhibernate.org).  NHibernate is
the .NET port of Hibernate, the Java ORM.  NHibernate is, IMHO, an
excellent tool, but it does take some effort to learn.

ActiveRecord (http://www.castleproject.org/activerecord/index.html),
is a project from the Castle stack that tries simplifies the use of
NHibernate.  Here is a good presentation on ActiveRecord:
http://www.infoq.com/presentations/eini-verissimo-castle-active-record
(by Oren Eini and Hamilton Verissimo)


On Thu, Jun 5, 2008 at 8:42 AM, pmatos <pocm@...> wrote:

>
> Hello all,
>
> Initially I thought ADO.NET was like OJB for Java, an object relational
> bridge. After some searching it just seems to be a connectivity API to
> different data sources but doesn't provide a object relational bridge. Is
> there anything similar to OBJ for C# in Mono?
>
> Cheers,
>
> Paulo Matos
> --
> View this message in context: http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@...
> http://lists.ximian.com/mailman/listinfo/mono-list
>



--
http://www.opgenorth.net
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: ADO.NET misunderstanding

by xanadont :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One that I really love and have had great success with is SubSonic.  
As opposed to NHibernate, it conforms to convention over configuration  
and is a breeze to get running.  Check out the plethora of videos if  
you need convincing.

Now the previous version lacked true support for Postgres (though  
there were some unofficial extensions running around), but you should  
try and see if you can get the latest beta up & running.  If you do, I  
assure you it will quickly convince you of its usefulness.

http://subsonicproject.com/

Full disclosure - I'm in no way associated with the project ... just a  
very happy user.

-Abe

On Jun 5, 2008, at 11:14 AM, Tom Opgenorth wrote:

> If what you're looking for is an ORM, then you might want to take a
> peak at either NHibernate (http://www.nhibernate.org).  NHibernate is
> the .NET port of Hibernate, the Java ORM.  NHibernate is, IMHO, an
> excellent tool, but it does take some effort to learn.
>
> ActiveRecord (http://www.castleproject.org/activerecord/index.html),
> is a project from the Castle stack that tries simplifies the use of
> NHibernate.  Here is a good presentation on ActiveRecord:
> http://www.infoq.com/presentations/eini-verissimo-castle-active-record
> (by Oren Eini and Hamilton Verissimo)
>
>
> On Thu, Jun 5, 2008 at 8:42 AM, pmatos <pocm@...> wrote:
>>
>> Hello all,
>>
>> Initially I thought ADO.NET was like OJB for Java, an object  
>> relational
>> bridge. After some searching it just seems to be a connectivity API  
>> to
>> different data sources but doesn't provide a object relational  
>> bridge. Is
>> there anything similar to OBJ for C# in Mono?
>>
>> Cheers,
>>
>> Paulo Matos
>> --
>> View this message in context: http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html
>> Sent from the Mono - General mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list@...
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>
>
>
> --
> http://www.opgenorth.net
> _______________________________________________
> Mono-list maillist  -  Mono-list@...
> http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Parent Message unknown Re: ADO.NET misunderstanding

by Miguel de Icaza-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There are a few hundred options that provided object oriented mappings to databases that are layered on top of ADO.NET

>>> pmatos <pocm@...> 06/05/08 10:42 AM >>>

Hello all,

Initially I thought ADO.NET was like OJB for Java, an object relational
bridge. After some searching it just seems to be a connectivity API to
different data sources but doesn't provide a object relational bridge. Is
there anything similar to OBJ for C# in Mono?

Cheers,

Paulo Matos
--
View this message in context: http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Parent Message unknown Re: ADO.NET misunderstanding

by Eduardo Sanchez-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> On Fri, Jun 6, 2008 at 7:31 AM, Miguel de Icaza <miguel@...> wrote:
> There are a few hundred options that provided object oriented mappings to databases that are layered on top of ADO.NET


I guess Nhibernate is one of the most popular ones:

http://www.hibernate.org

regards,
 --
 eduardo s.m.
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list