Can someone give me some advice on how to create a SQL Compact Database file that is used by both an application and DLL in the same solution.
I can create the database in the application and use it. The problem is using it in the DLL. I created a new DataSet in the DLL using the same DataSouce but only selecting one or two of the tables. However, when the app runs it does not use the same database file. Changing the DLL config file to use the same file wipes the database of all data.
To use the same database file in the form in the DLL I have to pass the connection string in the constructor and set the ConnectionString for each table adapter. Is there any way around this?
I am probably misunderstanding how table adapters and DataSets work so would be grateful for any pointers others may be able to give.
Thanks in advance.