BlockExcecutor does not support ConnectionProperties?
ssobolev
Posts: 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.
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.
Comments
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.