Hi,
from documentation of sqllocaldb (sql 2012) there should be an AttachDbFileName= parameter, useful to attach a .mdf available during the session is active. It would be fine if you could provide a property AttachDbFileName in the TMSConnection.
And just another thing would be fine: if the indicated instance in Server does not exist and the provider is (localdb), so a "sqllocaldb.exe create name_instance" should be launched.
best regards
Toni
sql localdb and AttachDbFileName
Re: sql localdb and AttachDbFileName
Hello,
1. To set the AttachDBFileName connection string option, you can use the TMSConnection.Options.InitialFileName property.
2. You can leave your suggestion at our UserVoice page at http://devart.uservoice.com/forums/1046 ... components , and if there are many votes for your suggestion, we will implement it.
1. To set the AttachDBFileName connection string option, you can use the TMSConnection.Options.InitialFileName property.
2. You can leave your suggestion at our UserVoice page at http://devart.uservoice.com/forums/1046 ... components , and if there are many votes for your suggestion, we will implement it.
Re: sql localdb and AttachDbFileName
Great! The Options.InitialFileName works fine.
The "AutoCreateInstance"-feature would be fine but is not essential.
Many thanks for your prompt feedback.
Toni
The "AutoCreateInstance"-feature would be fine but is not essential.
Many thanks for your prompt feedback.
Toni
Re: sql localdb and AttachDbFileName
Feel free to contact us if you have any other questions about SDAC.