Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Database management library

In our company, we work together with several database systems (MySQL, MSSQL, PL/SQL, SQlite and SQLCe) for various projects. Because of this, we developed a library that puts everything into a nice interface where we can connect to each database without worrying about which database is now behind. But this library always required to install every database on a clients computer because .Net insisted that (because of the references). So we used MEF to create database plugins where the application only loads the appropriate plugin at startup and we don't need any other database systems installed on the host system.

Anyway, we still struggle because of the differences of each database. Let's say we want to have procedures that automatically generate required tables and data in the destination database if they aren't available. Or if the different databases uses different datatypes. Things are getting very complicated and as for now, we're interested in also using LINQ2SQL which doesn't seem to be able to handle MySQL, SQlite and PL/SQL.

My question:

Is there any free/oss C# library that takes over this tasks? Where we can have full control over our databases without thinking about which database is now behind?

like image 540
Neurodefekt Avatar asked Mar 20 '13 07:03

Neurodefekt


People also ask

What is database management system in library?

The software that allows one or more persons to use, store, delete, modify. and retrieve data that is stored in a database is a Data Base Management. System (DBMS).

Which type of database is used in library?

Bibliographic databases provide a descriptive record of an item, but the item itself is not provided in the database. Information about the item is provided, including such things as author, title, subject, publisher, etc.


1 Answers

Any mature ORM library will do the work

  • NHibernate
  • Entity framework

Check this site to see comparisons of features and performance of popular ORM libraries

like image 94
jezzarax Avatar answered Sep 19 '22 17:09

jezzarax