| Author |
Message |
ssobolev
Joined: 17 Jul 2008 Posts: 3
|
Posted: Thu Jul 17, 2008 5:55 pm Post subject: BlockExcecutor does not support ConnectionProperties? |
|
|
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. |
|
| Back to top |
|
 |
Chris Auckland
Joined: 24 Oct 2006 Posts: 710 Location: Red Gate Software Ltd.
|
Posted: Tue Jul 22, 2008 4:36 pm Post subject: |
|
|
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. _________________ Chris |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group