roundhouse

RoundhousE - Change login used by scripts scripts

旧街凉风 提交于 2020-01-02 05:14:08
问题 I am trying to set up roundhouse deployment scripts. I am running into a little trouble with remote logins. We need to login with an sql account (not machine or domain - this is against MSSQL 2008R2 on Server 2008 R2 SP1) when creating the database on remote servers. Is there any way to provide different credentials for roundhouse to connect and run scripts as, I am not seeing it in the documentation? Thanks. 回答1: If you specify the connection string instead of the server name and db name,

How to get values from an executed batch file

若如初见. 提交于 2019-12-07 22:14:21
问题 I'm trying to set up a barebones roundhousE setup, with a few touches. I'm trying to make the values used by roundhousE set in one central location, instead of each deployment batch script (which is a pain in the arse). However, when I reference the SetupVal.bat from each deployment batch, it sets the values but just stops executing the deployment script. I'm not sure why it doesn't carry on, and it's really annoying me. This is my SetupVal.bat : SET product.name="####" SET database.name="

How to get values from an executed batch file

有些话、适合烂在心里 提交于 2019-12-06 05:38:06
I'm trying to set up a barebones roundhousE setup, with a few touches. I'm trying to make the values used by roundhousE set in one central location, instead of each deployment batch script (which is a pain in the arse). However, when I reference the SetupVal.bat from each deployment batch, it sets the values but just stops executing the deployment script. I'm not sure why it doesn't carry on, and it's really annoying me. This is my SetupVal.bat : SET product.name="####" SET database.name="%product.name%.DB" SET sql.files.directory="..\db\SQLServer" SET server.database="(local)\SQLEXPRESS" SET

RoundhousE - Change login used by scripts scripts

一笑奈何 提交于 2019-12-05 14:05:43
I am trying to set up roundhouse deployment scripts. I am running into a little trouble with remote logins. We need to login with an sql account (not machine or domain - this is against MSSQL 2008R2 on Server 2008 R2 SP1) when creating the database on remote servers. Is there any way to provide different credentials for roundhouse to connect and run scripts as, I am not seeing it in the documentation? Thanks. If you specify the connection string instead of the server name and db name, you can then set the credentials as well. From: https://github.com/chucknorris/roundhouse/wiki

Which ORM frameworks will build and execute the SQL DDL for you?

半城伤御伤魂 提交于 2019-11-29 12:52:25
Entity Framework Code First will build the database for you if it doesn't exist and structure it based on your mapping objects. I believe Roundhouse will do the same thing with Fluent Mapping files using NHibernate. Are there any other ORM's (or tools like Roundhouse) that will take care of all your SQL DDL creation and execution? NHibernate does not need Fluent Mappings to generate database schema . This feature is built into the NHibernate core: new SchemaExport(_configuration).Execute(false, true, false); In my experience however this is mostly useful for in-memory integration tests or

Which ORM frameworks will build and execute the SQL DDL for you?

泄露秘密 提交于 2019-11-28 06:11:26
问题 Entity Framework Code First will build the database for you if it doesn't exist and structure it based on your mapping objects. I believe Roundhouse will do the same thing with Fluent Mapping files using NHibernate. Are there any other ORM's (or tools like Roundhouse) that will take care of all your SQL DDL creation and execution? 回答1: NHibernate does not need Fluent Mappings to generate database schema. This feature is built into the NHibernate core: new SchemaExport(_configuration).Execute