LINQ to XML for a small application can replace a small database?

I am creating a small application that will be deployed in a window. The database will have less than 10 tables.

Instead of installing the database in the client window, XML documents are used for the database, and will LINQ cost query performance while waiting for the XML file to load and write?

If I use a database, I will use LINQ to SQL.

+3
source share
4 answers

You can use a built-in database such as SQLite or a portable version of the SQL server (I don’t remember what it called), so you can still use SQL and LINQ, but you do not need to install the database server

+2
source

. - SqlExpress .mdb. , Xml (.. ), PITA.

+7

, . , . , , .. OR- , .

!

0

MagicKat:

, -

SQL Server 2008 Express

Microsoft JET is better suited for Nir compact requierment. It is built-in (installed as a DLL), and you can move the database as a single file (.mdb). From a Wikipedia article, I learn that the current version is the Microsoft Access Engine.

-1
source

Source: https://habr.com/ru/post/1697786/


All Articles