Database Helper Class Required

I am searching for a database helper class with which i can connect to any type of Database i.e. MS SQL, oracle, My SQL, etc.

Like sqlhelper.cs, i can only connect to MS SQL.

But my requirement is of open source/freeware db helper with which i can perform tasks.
LVL 19
Amandeep Singh BhullarAsked:
Who is Participating?
 
rockiroadsCommented:
Ive used Hibernate before for Java and know of NHibernate though I have never used it. You want to give that a go? http://community.jboss.org/wiki/NHibernateforNET
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
rockiroadsCommented:
0
 
rockiroadsCommented:
With the sql helper class, maybe put your db configs somewhere in some sort of xml file and read that. Then create the appropriate connections based on the db. There is also a enterprise library data access block from ms and another database helper from c#buddies http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=3
0
 
Mohit VijayCommented:
You can use Microsoft Enterprise Library.
0
 
SriVaddadiConnect With a Mentor Commented:
You could use the classes from Data Access Application block (part of MS Enterprise Library). Here are some quick starts

http://msdn.microsoft.com/en-us/library/ff648274.aspx
0
 
Amandeep Singh BhullarAuthor Commented:
Thanks every one.
Will check the options and revert
0
 
Amandeep Singh BhullarAuthor Commented:
Thanks a lot for the suggestions.
I opted for Microsoft Library.
0
 
rockiroadsCommented:
oh so u just needed a link? Bad of me for mentioning it but not posting a link lol.
0
 
Amandeep Singh BhullarAuthor Commented:
@rockiroads
You provided me link for SQLHelper. but i required complete layer will all functionality and that can interact with any type of DB

Thanks for your suggestion. I voted the one that i actually used.
0
 
rockiroadsCommented:
in total 3 - link to sql helper and c#buddies as well as mentioning the ms library, same time as vjsoft, and not mentioning the same (but a different link) over an hour later. not a problem though as I just felt like posting a funny comment.
0
 
Amandeep Singh BhullarAuthor Commented:
Sorry for not giving you point.
Will take care next time buddy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.