Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have two databases:
I am wondering how could I tell UI-O-Matic to use the nonCmsDbDSN and look for my table in that database rather than umbracoDbDSN?
Is this possible?
Many Thanks
Ali
Found the solution from the source code (thanks for making this great project open source)
You can simply specify the Connection String Name as one of the parameters in UIOMatic attribute. example:
[UIOMatic("people","People", ConnectionStringName="SecondDB")]
Comment author was deleted
Great, glad you found the answer, it's also specified in the docs :) https://uiomatic.readthedocs.io/en/stable/01.Usage/
Cheers, Tim
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to change the connection string
I have two databases:
I am wondering how could I tell UI-O-Matic to use the nonCmsDbDSN and look for my table in that database rather than umbracoDbDSN?
Is this possible?
Many Thanks
Ali
Found the solution from the source code (thanks for making this great project open source)
You can simply specify the Connection String Name as one of the parameters in UIOMatic attribute. example:
Comment author was deleted
Great, glad you found the answer, it's also specified in the docs :) https://uiomatic.readthedocs.io/en/stable/01.Usage/
Cheers, Tim
is working on a reply...