You can use the ADO.NET DataSet, which is serialized and stored locally. It will contain all the data structures that you are familiar with, and allows you to query the data as it seems to you, and if you serialize it using the Binary Serializer, it will be unreadable to end users.
Alternatively, you can look at SQLite as an alternative to using DataSets.
SQLite is a software library that implements a standalone, serverless, zero configuration, transactional mechanism of SQL DBMS. SQLite is the most widespread SQL query database engine in the world. The source code for SQLite is in the public domain.
NHibernate with SQLite is a great combination.
Greetings.
source share