Local database, I need some examples

前端 未结 7 1947
遥遥无期
遥遥无期 2020-11-29 06:15

I\'m making an app that will be installed and run on multiple computers, my target is to make an empty local database file that is installed with the app and when user uses

7条回答
  •  无人及你
    2020-11-29 06:27

    Seems like you're:

    • -Making a C# app that will be installed and run on multiple computers
    • -That needs a local database (I'm assuming an RDBMS)
    • -You need to generate a blank database at installation
    • -You then need to be able to connect to the database and populate it when the app runs.

    In general, it seems that you need to read up on using a small database engine for applications. I'd start by checking out SQLite, especially if you need multi-OS capability (eg., your C# program will run on Microsoft's .NET Framework and Novell's Mono). There are C# wrappers for accessing the SQLite database.

提交回复
热议问题