I want to wrap some queries in a SharedDbConnectionScope and execute them under a different connection string. How do I add a provider/connection string dynamically in order to do this?
Thanks
I want to wrap some queries in a SharedDbConnectionScope and execute them under a different connection string. How do I add a provider/connection string dynamically in order to do this?
Thanks
Copyright © 2021 Jogjafile Inc.
Both the
ActiveRecord\Context.ttand theLinqTemplates\Context.ttthat you would use to generate your classes contain constructors:So you can pass your connection string to one of these constructors, like: