Forum for users of SQL Toolkit 3,4,and 5
It seems to me like API inconsistency.
I can initialize ConnectionProperties using data provided by other parts of applicationand use them in most places where I need to connect to database. But not in BlockExecutor - here I should go through all of connection properties generation routines again???
Doesn't seems too good to me.
- Posts: 3
- Joined: Thu Jul 17, 2008 5:46 pm
Thanks for your post.
I believe you can use ConnectionProperties in the ExecuteBlock method. e.g.
blockExecutor.ExecuteBlock(work.ExecutionBlock, db2.ConnectionProperties.Server, db2.ConnectionProperties.Database)
I hope this is helpful.
- Posts: 757
- Joined: Tue Oct 24, 2006 2:12 pm
- Location: Red Gate Software Ltd.
Return to SQL Toolkit Previous Versions
Who is online
Users browsing this forum: No registered users and 0 guests