Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Micro-ORM for .Net 2.0? [closed]

Am writing a new C# web forms app and there is a strong possibility it will be deployed on a web server that only supports .Net 2.0.

I'd love to be able to use something like Dapper or PetaPoco for data access and manipulation, but it appears they both have requirements for .Net 3.0 or higher.

Are there similar alternatives that work on .Net 2.0?

I'm aware of SubSonic and NHibernate, but I really am only looking for something to query the DB and quickly stuff the results in POCOs.

Thanks!

like image 815
Sam Avatar asked Feb 01 '12 15:02

Sam


2 Answers

How about Simple.Data or Dapper.

I'm in the process of building a WCF service using Dapper and can recommend it.

EDIT: Arrgh, just noticed the 2.0 thing, both of these require 4. See if you can update!

like image 198
Simon Avatar answered Oct 04 '22 00:10

Simon


Couldn't find one that worked well in .Net 2.0 environment. Will be writing the app for 4.0 and deploying on a different server.

like image 40
Sam Avatar answered Oct 04 '22 02:10

Sam