Local database, I need some examples

前端 未结 7 1939
遥遥无期
遥遥无期 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:21

    For 1)

    The easiest way to provide this functionality is through SQL Server Express User Instances. SQL Server Express is free, so your user does not have to pay additional license for SQL Server, and the User Instance is file-based, which suits your requirement.

    For 2)

    This is a big topic. You may want to go through some of the tutorials from Microsoft to get the feeling of how to connect to DB, etc.

提交回复
热议问题