inline

On Fri, Jan 14, 2011 at 9:38 PM, chriseyre2000 <chriseyre2...@gmail.com>wrote:

> I have a few suggestions to improve Rhino DSL.   It is a great tool
> but could be made far easier to use.
>
> Firstly the download currently requires git plus powershell to build.
> Releasing the built zip file would make uptake easier.
>
>
http://builds.hibernatingrhinos.com/builds/Rhino-DSL
<http://builds.hibernatingrhinos.com/builds/Rhino-DSL>

> It also requires more demos.
>
> There is a whole book on the topic!
Including source code which is freely available.


> Here is the simplest example that I could create (feel free to use
> it).  It merely copies part of one table in one database into
> another.  I use it to migrate data from production to test. Samples at
> this level get people used to working with the app.  Once they
> understand this then the more complex code will be more accessible.
>
>
Um, are you talking about Rhino DSL or Rhino ETL?


> The command line is (in a batch file)
>
> Rhino.Etl.Cmd -c:database.config -f:CopyUser.boo -p CopyUser
>
> This requires database.config:
>
> <configuration>
> <connectionStrings>
> <add name="source" connectionString="Data
> Source=DATABASE_SERVER1;Initial
> Catalog=databaseName;User=username;Password=password;"
> providerName="System.Data.SqlClient.SqlConnection, System.Data,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
> <add name="target" connectionString="Data
> Source=DATABASE_SERVER2;Initial
> Catalog=databaseName2;User=username;Password=password;"
> providerName="System.Data.SqlClient.SqlConnection, System.Data,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
> </connectionStrings>
>
> </configuration>
>
> and
>
> === CopyUser.boo === Need to replace [TAB] with tabs
>
> process CopyUser:
>  input “source”, Command = “SELECT strUserID, strParamGroup, strName,
> strValue from tblParameter where strUserID = ‘FRED’”
>  output “target”, Command = “”"
> INSERT INTO tblParameter (strUserID, strParamGroup, strName, strValue)
> VALUES (‘JOE’, @strParamGroup, @strName, @strValue)
> “”"
>
> # You may need to fix up the tabs for boo.
>
> I am interested in helping with the development of some simple useful
> demos.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to rhino-tools-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> rhino-tools-dev+unsubscr...@googlegroups.com<rhino-tools-dev%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to rhino-tools-dev@googlegroups.com.
To unsubscribe from this group, send email to 
rhino-tools-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to