接続文字列に悩む(解決編?)

試行錯誤して動いてるので、この対応方法で行こうと思います。

接続文字列が確定した段階で

protected SelectableDataSourceProxyWithDictionary dataSourceProxyWithDictionary;

使用箇所のクラスにSelectableDataSourceProxyWithDictionary変数を定義しQuillでdataSourceProxyWithDictionaryをバインドしてもらいます。

var ds = dataSourceProxyWithDictionary.DataSourceCollection["hoge"] as TxDataSource;
ds.ConnectionString = "hogehoge"
 

そして、使用箇所のメソッド内でTxDataSourceを引っ張ってきて、接続文字列を設定しています。