Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1034831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:27:11+00:00 2026-05-16T14:27:11+00:00

I have an object model that I want to store using an embedded database.

  • 0

I have an object model that I want to store using an embedded database. I have so far been looking at db4o, NHibernate to SQLCE (w/ linq), and RavenDB. This would be used in a desktop C# application.

The key features I am looking to leverage are: Linq or similar for queries (no SQL or HQL), Embedded data engine, pocos, poco first model, no install (no registry or similar)

Can any one suggest one? Are the three I am looking at the best choices? Are there other options? Of the three, can anyone recommend one over the other?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:27:12+00:00Added an answer on May 16, 2026 at 2:27 pm

    Well the three suggested databases are very different in their nature. SQLCE with Hibernate as RDBMS with a ORM, db4o as object database and RavenDB as document database. Each of them has its strengths.

    SQL CE & NHibernate-Combo
    The good:

    • Extremely good support in tooling, the knowledge and a big community is there
    • Easy to upgrage to MS SQL servers
    • Extrem good reporting support
    • The power of SQL

    The bad:

    • Needs mapping
    • The mapping between the OO and relational world is not easy and can lead to issues with complex models.

    RavenDB

    The good:

    • Doesn’t need any mapping
    • Easy to use
    • Powerful indexing
    • JSON & HTTP access

    The bad:

    • If your domain doesn’t fit to a document-oriented approach, it will be quite painful
    • It does not support the .NET Framework Client Profile (which is of particular importance as the OP’s question is concerning embedded databases)

    db4o

    The good:

    • Doesn’t need any mapping
    • Easy to use
    • The storage model is close the object-model. This also works for very complex models.
    • –

    The bad:

    • Tooling support is weak.

    Afaik all three support LINQ and POCO-first approach. However since NHibernate & SQL CE still need tons of mapping its not as friction free as it could be.

    I think if your focus is on POCO first, LINQ-support, ebedded usage and easy to use, I would try RaveDB or db4o.
    If your focus is on ‘safety’, community-knowledge, tool-support and reporting I would go with NHibernate and SQL CE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Comment Model that I am using to store comments for both
I have an XML document that has been created using utf-8 encoding. I want
Okay here is what I'm trying to do: I have a model object that
I have a page based on a model object, and I want to have
I have an object model that contains a class with several subclasses. The subclasses
Suppose I have an model object Event that contains a Venue . When I
In rails 3, I have a database model that has a birthday field, of
Using: Rails 3.1.1 I have a controller/model/view called Category that is built up on
I want to set object properties using a string selector. I have a string
Problem I want to save the attributes of a model that have changed when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.