[Mono-list] Database in a file

Jonathan Pryor jonpryor at vt.edu
Fri May 18 06:29:53 EDT 2007


On Fri, 2007-05-18 at 12:03 +0200, Tomek Lorek wrote:
> I'm working on a simple CD catalog application and I need to store
> somehow the information on the files and directories. Text file is not
> good enough because it will be quite big and searching the information
> is quite slow and not optimal I guess (you always have to process each
> line of file from start until end). The best would be to use a
> query-driven database but I'd like it to be stored in a file.

You want to use a SQLite database, which fits nicely within a file.

Mono has the Mono.Data.Sqlite.dll and Mono.Data.SqliteClient.dll
assemblies for easily using SQLite databases from C#.

 - Jon




More information about the Mono-list mailing list