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
We are developing a windows desktop application, that requires local caching (synchronization) of a remote SQL Server Express database. We are accessing this database over WCF.
So, we need to synchronize the remote database with a local, light-weight database, that is supported by Entity Framework, like SQLCE or SQLLite.
We know that Sync Framework does not support SQLCE 4.0 and we wish to avoid Sync Framework (because it looks like a dead technology) and SQLCE 3.5 (because it's old).
Is there any other way to perform the desired synchronization between SQL Server Express and any light-weight database supported by Entity Framework?
Yes, you can use Zumero for SQL Server, supports all your requirements - uses SQLite
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 5 years ago.
Improve this question
... hello, world
I’m trying to sync my offline database which is Sqlite to my remote web server which has Mysql database.
I tried to extract data from sqlite to xml and sync xml with mysql database but no success.
Any ideas how to do this?
Thanks in advance
Off course I’m using wpf c#
AFAIK, you can't sync like that from cross party databases. What you will have to do is import your SQLite database to MySQL and then can set up REPLICATION probably .. just an idea, depends on what's your end goal is
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'm planning on creating a C# windows form application that will use a local database (for only one user).I dont know what software the client has installed on his computer but I want my application to work.It should have .NET installed ofc.
My question is , what kind of database can I implement (developing in Visual Studio 2012) that user , after starting my application, would be able to use without installing any additional software like servers.
I did have success with MS Access database but I heard here that this solution is depricated.
You can use single file/embedded databases like Sqlite or SQL Server Compact
Here is an example on how to use Sqlite in .net application.
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)
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 4 years ago.
Improve this question
I create some WinForms apps using Ado.Net to connect the database. I'm using MVP model.
The application uses .Net 3.5 so I cannot use EF 5.0 and I am not willing to use lower version of EF. I'm using VS 2012 though. Is there any tool can be used to generate the C# model classes from the database table schema?
This is called Entity Framework Model First: you generate Edmx designer-based model basing on existing database schema, and then POCO-classes basing on this model.
Visual Studio 2012 supports the approach by default: Add -> New item -> Data -> EF 5.x DbContext Generator.
There is a windows tool available SqlToCSharp which creates C# classes for Database tables, Views, SPs etc.
I have developed it, I am sure it will be helpful to solve the mentioned issue.