Question

As I am starting a new product development in Windows Form C#.Net Application, I want to use Mongo DB with it.

Could anybody please let me know that can I use MongoDB database for Windows Form application ? and if yes, How about the reports (complex reports) and relation with them?

As I am new to MongoDB, I don't have any idea to integrate reports and relation with it.

Please let me so I can go further and take decision about database choice.

Thanks in advance.

Was it helpful?

Solution

You can use MongoDB database for Windows Form application. Store your reports information in MongoDB's native BSON documents. For example each BSON document will stores one report. Use ids of documents for relations. As i found samus C# driver is fine. Check it;)

OTHER TIPS

I am not sure I understand your question. You tagged it with mongodb-csharp, so you already seem to know there is a driver available for C# under Windows (which is also quite obvious if you check out the mongoDB page's driver section), so: yes, you can use mongoDB in a C# Windows application - there are even several other drivers available, like the "official" C# driver or NoRM.

That being said, reporting is often considered to be a weakness of NoSQL databases, which is true if you need to aggregate data via complex queries. You might want to store data needed for reports in an "old-fashioned" relational database.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top