Generate database creation scripts

前端 未结 3 1245
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-09 06:43

Is it possible to generate the database creation scripts for a SQL server database from .NET?

I am using C# and I would like to create some sort of an installer project

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-09 07:00

    You have to create your own installer by coding it all yourself. there are frameworks out there that make it much easyier.

    • like Windows Installer XML (WiX)
    • Windows installer
    • and more...

    I would suggest you to have a look at WiX, worked with it and its quite easy and you can do much. Can be integrated in Visual Studio

提交回复
热议问题