Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
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.
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 (http://www.fluentnhibernate.org/)
--
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)
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I was wondering how to just use System.Data.SQLite.Linq to query SQLite database, without Entity Framework involved.
I had used decompiler tool to check System.Data.SQLite.Linq and System.Data.SQLite.EF6, it seems like they are the same except the namespace and EntityFramework is referenced by the latter.
I see the following description on the official website:
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
As far as I understand, any package that support Linq should implement the IQueryProvider and IQueryable interfaces, but I don't see this in package System.Data.SQLite.Linq.
Can someone explain it? Thanks a lot!
I have analysed their sources and cannot even understand for which purpose it was introduced and how it is related with LINQ.
If you need good SQLite LINQ support without EF, I know only one library which can do that effectively linq2db (disclaimer, I'm one of the creators)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a tip on what database I should use for my api.
The api will be querying one table with maximum of 10 million rows. I'm looking for a free and easy DB which can interact well with c# .net.
Any suggestions?
I don't understand your question well, please clarify more.
But for .Net we tend to use SQLServer with .Net Technologies.
For .Net WebAPI2 we used to use SQL Server as Database and Entity-framework code first technology to build our Data layer.
So we build a webAPI
WebAPI contains Controllers
This controllers get its data from repository pattern classes
Repository pattern classes get it's data from the Entity Framework context
which it self using the repository patter.
For large data you can use something like DocumentDB, MongoDB (NOSQL technologies)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I appreciate any suggestions on a database for the following problem:
Contains < 200 MB read-only data
Data is quite tabular with limited relationship to other tables
Must query tabular data and put into C# structure (to be feed to an interpolation routine)
It will be accessed by C# routine. This routine will exist in desktop application and behind ASP.net application.
Encryption required for desktop install
SQL not necessary
Component must support concurrency
Thanks in advance.
If I were you, I would put the data into C# structure, and serialize it to disk. 200 MB seems like an amount, which would safely fit into RAM. While serializing/deserializing, you can pass it through CryptoStream, and get encryption requirement covered that way. Whole database layer could be so simple, it would fit on one screen.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm busy with an application that needs to display Treemaps to a user but I can't find a good charting library that has support for this kind of graph.
Here are some examples of what I mean
I'm using C# as a server side technology, but I'm willing to invoke something on a command-line too if that is required.
Any suggestions?
Edit: I don't mind getting a java library recommendation, since I don't mind combining technologies
Well, since you question is tagged with "Java" I'm gonna propose JFreeChart (even though your actual question seems to indicate you need more of a C#/.net kind of library)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am building a plugin configuration application and I am looking for simple sample plugins approach in order to have clear idea where and how to go.
I have go through MEF description a bit but I think it is a bit to heavy to what I am intend to do.
Any one have play around such approach and samples ?
MEF makes plugins very easy to implement. It has more features, but you don't have to use them. I recommend using it - it is not such a heavy library.
It is almost as simple as decorating the types with an attribute and you are ready to go.
I am hoping that these link will helps you for plugin model using csharp...
pluginsincsharp
csharp plugin_architecture
c sharp approach for a simple plugin service provider model
different code dep