Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Library for database (schema) management [closed]

I am looking for a .Net library which would act like an abstraction layer between the application and the database. The application mostly deals with structure alterations, like creating a new table or adding a column to existing table.

I would like to have the library which deals directly with database entities like tables, schemas or columns - so not really ORM (unless some ORMs have good "utility" layer). Support for PostgreSQL and SQL Server is required (Oracle and SQLite would be "a nice to have" feature).

Any free or commercial (but royalty-free i.e. no per-server license) solutions would be much appreciated.

like image 615
Karol Kolenda Avatar asked Dec 06 '25 19:12

Karol Kolenda


1 Answers

For the DAL, I recommend NHibernate (http://nhibernate.info/) It is a great all-rounder:

  • easy to use

  • good abstraction

  • powerful features.

It gets even better with FluentNhibernate (https://github.com/nhibernate/fluent-nhibernate/)

--

If you are looking for something more speedy and light-weight, take a look at StackOverflow's very own Dapper (https://github.com/StackExchange/dapper-dot-net)

like image 186
Coke Head Avatar answered Dec 08 '25 08:12

Coke Head



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!