This question is locked. New answers and comments are not allowed.
Hi,
I have developed a multi-tenant application in Silverlight where multiple users use the same Silverlight application but all have separate databases.
I have a Telerik Data Access domain service for each main entity (customers, orders etc) that handles all the CRUD operations from the Silverlight Client.
Querying the data is no problem as I pass through an encrypted connection string token as one of the parameters to the method I want to query which works 100%. Where my problem is coming in is for Creating, updating and deleting records. The .tt service provides the following methods
public void DeleteBookmark(Bookmark Bookmark)
{
// This is a callback method. The actual Delete is performed internally.
}
public void UpdateBookmark(Bookmark Bookmark)
{
// This is a callback method. The actual Update is performed internally.
}
public void InsertBookmark(Bookmark Bookmark)
{
// This is a callback method. The actual Insert is performed internally.
}
but the operation is happening much earlier.
How do I change the connection string before the operation occurs?
Thanks,
Mark
I have developed a multi-tenant application in Silverlight where multiple users use the same Silverlight application but all have separate databases.
I have a Telerik Data Access domain service for each main entity (customers, orders etc) that handles all the CRUD operations from the Silverlight Client.
Querying the data is no problem as I pass through an encrypted connection string token as one of the parameters to the method I want to query which works 100%. Where my problem is coming in is for Creating, updating and deleting records. The .tt service provides the following methods
public void DeleteBookmark(Bookmark Bookmark)
{
// This is a callback method. The actual Delete is performed internally.
}
public void UpdateBookmark(Bookmark Bookmark)
{
// This is a callback method. The actual Update is performed internally.
}
public void InsertBookmark(Bookmark Bookmark)
{
// This is a callback method. The actual Insert is performed internally.
}
but the operation is happening much earlier.
How do I change the connection string before the operation occurs?
Thanks,
Mark