As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have to develop a mini application, but need to create database, i did't want to use sql, access or oracle because i just need 4 tables data. What is the best option for database storage? Desktop application.
Mongo db is a very light weight, very easy no-sql database, which is rather easy to learn and work with. It does require an instance running, I didn't check if you can have it embedded in your application but wouldn't be surprised if it's possible.
Check it out.
If you don't need SP's and you only need relational data (and not dealing with installation and dependency overhead) then you just reference SQL Server CE.
It's an embedded database and if you run C# it means that the Framework is there, and probably the SQL Server CE too, otherwise the install is very lightweight and can be included in your installer
Sqlite if you need relations and queries, ESENT if you don't.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am looking for programs which allows you to view a sql database in a GUI created with C#. The benefits of this would be you could create shortcuts to tables an ease of use for companies. However I can't seem to find anything on the internet about companies using a C# program to view databases.
Have anyone used a program which does this?
Is there a direction someone could point me in?
Many thanks.
You don't need to program anything. You have several options:
SQL Server Management Studio aka SSMS (Even SQL Server Express has it)
Visual Studio has a Server Explorer (Menu View\Server Explorer)
I think that option 1 or 2 is more than enough for you. If you want other alternatives you have LinqPad or Versabanq Squel. Check this question for alternatives.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'am building an application, which need to only record it's settings trough a database, so like I logged in with the name: "Mobstaa", it needs to fill the username textbox the next time I start up the application. There are a few other little settings like that, that needs to be stored in that Database.
Now I'am wondering if it is smart to use SQL Compact Edition, I read about a few disadventages of the compact edition, but I really don't want the users that will run my application need to install a very big SQL file for just a small application, does anybody know wether it is smart for me to use the SQL Compact Edition, or does anybody has a very good alternative for my problem?
if you really want only to store some settings and want to use a Database, i would suggest that you use SQLite. This db is much more lightweight than MS-SQL Compact Edition and it's an in-memory database, so you can ship the db within your product and don't have to install a seperate database on your computer.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for an existing datamap and/or MySQL script that can migrate data between TYPO3 and Joomla. Obviously, both CMS use MySQL and that's great, but I'm wondering if there is already a document/script that takes the elements from TYPO3 database and puts them in the Joomla database.
I'm planning to write my own migration program in C# so if anyone has some code snippets for that, it would also be helpful.
Forget that, there are too many differences to make it possible... TYPO3 instances are built typically with many various extension + pages + content elements etc. Although Joomla's initial structure is quite simple (as far as I remember) when you are adding new plugins it changes in many different ways. Conclusion is simple if somebody wrote such 'mapper' between his TYPO3 and his Joomla most probably will not work in any other combination.
How many pages are there in the TYPO3 ? if less than 100 I wouldn't waste a time for any programm, just copy/paste it in common editing mode.
If more, I think that would be best solution to write a TYPO3 extension (PHP), which will get all required data from some page using it's parsers, configs etc and will convert it to JSON (or even pure SQL insert statements) with structure understandable in Joomla. Keep in mind that many elements can be quite different in the database - than on the client's side. The best example are internal links which in DB are saved just as ID's of pages to which they are pointing. You need to resolve it on the TYPO3 side, or you'll need to learn how relations are built in TYPO3's database to do the same task in your C# application.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm working with C# and I want to develop desktop application that use a database. The final purpose is to embed my database file so I can instal the application in every single computer.
My questions are :
Is Microsoft SQL Server Compact Edition a viable solution for embedded database?
How to use it?
Can you give me some tutorials to deal with it?
Thank you, I'll really appreciate your answers.
"Yes"
Why? Because, like any good "embedded database", it doesn't require a separate installation. In addition, but not absolutely required, SQL Server CE runs in-process.
Other alternative include SQLite and Firebird (and many more); so the question is then, which database is right for you? (Which, ignoring a few technical differences, comes a good bit down to preference and preferred tooling ..)
For #2 and #3, please consult a book/tutorial/google first.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm writing an application for windows mobile 6 and above that requires a local database.
I was wondering if anyone has any experience with database hosting on windows mobile and which database management system would be most suitable for development.
Thanks in advance,
Lloyd
I have used SqlServerCe as a local mini database for a WinMobile 6 application I've worked on. It is quite easy to use and gets automatically installed when you include the reference in Visual Studio.
Another option that seems popular is SQLite. For a comparison of the two look at this post: https://stackoverflow.com/questions/583278/sqlite-vs-sqlce-vs-in-a-mobile-application
This seems to be biased towards SQLite which I have not tried but I was happy with the performance of SqlServerCe for my application and it was sufficient.
SQL Server Compact Edition is widely used in Windows Mobile applications.
Another alternative is SQLite.
If you are not tied to RDBMS, you should try db4o, an embedded object oriented database with support for LINQ
I've used for some small applications Raima Database, and it proved to be reliable and fast, at least for our purposes.