Информация об изменениях

Сообщение Как вы создаёте базы данных? от 27.07.2020 5:44

Изменено 27.07.2020 6:56 Arsen.Shnurkov

Как вы создаёте базы данных?
Sinix пишет
Автор: Sinix
Дата: 27.04.10
:
.dbschema (XML-файл такой) -> VSDBCMD.EXE (утилита командной строки)
и вызывать это всё командой
MSBuild /t:Build;Deploy MyDatabaseProject.dbproj

А где исходники от VSDBCMD.EXE ? Как то же самое в опенсорсе проделать-то?

Did you get way into doing command line deployments of your databases using vsdbcmd.exe? Well, if you are one of those developers and you’ve upgraded to the latest version of the SQL Server Database Projects, then you might be wondering just where vsdbcmd.exe went.
Answer: vsdbcmd.exe has been replaced with SqlPackage.exe.


DACPAC это zip-файл.
И чё? А на github как его хранить — в бинарном виде?

А работать с ним как?
https://developercommunity.visualstudio.com/idea/920512/database-projectsdacpac-should-support-postgres.html

https://github.com/Microsoft/DACExtensions

DacFx is the core technology the SQL Server Data Tools leverages for incremental database deployments, modelling and validation of database schemas and other key functionality. DacFx provides a DacServices API that supports programmatic deployment of Dacpac files.

Как вы создаёте базы данных?
Sinix пишет
Автор: Sinix
Дата: 27.04.10
:
.dbschema (XML-файл такой) -> VSDBCMD.EXE (утилита командной строки)
и вызывать это всё командой
MSBuild /t:Build;Deploy MyDatabaseProject.dbproj

А где исходники от VSDBCMD.EXE ? Как то же самое в опенсорсе проделать-то?

Did you get way into doing command line deployments of your databases using vsdbcmd.exe? Well, if you are one of those developers and you’ve upgraded to the latest version of the SQL Server Database Projects, then you might be wondering just where vsdbcmd.exe went.
Answer: vsdbcmd.exe has been replaced with SqlPackage.exe.


DACPAC это zip-файл.
И чё? А на github как его хранить — в бинарном виде?

А работать с ним как?
https://developercommunity.visualstudio.com/idea/920512/database-projectsdacpac-should-support-postgres.html

https://github.com/Microsoft/DACExtensions

DacFx is the core technology the SQL Server Data Tools leverages for incremental database deployments, modelling and validation of database schemas and other key functionality. DacFx provides a DacServices API that supports programmatic deployment of Dacpac files.

https://stackoverflow.com/questions/40747082/finding-data-type-information-for-certain-objects-in-dacfx-api