Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embed database to application in C#/VB.net

Tags:

c#

Can we embed database to application in C#.net/vb.net?

like image 485
SamSol Avatar asked Jan 23 '26 04:01

SamSol


2 Answers

You can use serverless RDBMS such as SQL Server Compact or SQLite.

like image 193
wRAR Avatar answered Jan 24 '26 18:01

wRAR


Sure if you put SQLite file as a resource (embedded) you could then run that file in memory stream (I think) of write it out as a file on runtime and delete it when closing down.

.NET SQLite Wrapper/dll

like image 45
Darknight Avatar answered Jan 24 '26 18:01

Darknight



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!