// WebsiteDAL is the subsonic generated namespace
// I've tried to change database causing null error
WebsiteDAL.DB.Repository.Provider.CurrentSharedConnection.ChangeDatabase(db);
// also tried to add connection string and update on runtime,
// but still no effect
WebsiteDAL.DB._provider.ConnectionStringName = "website1connectionstring";
// Records are still loaded from default connection
WebsiteDAL.SomeTables st = WebsiteDAL.SomeTables.FetchByID(1);