I am thinking about my configuration data, that resides in a database.
So there are spread around many SQL queries to get the data out.
What is the best to fasten up the data retrival ?
Make the data persistent in another format/file without a complete
rewrite of my class structure ?
Best way of syncing the data from the database and the one in any file
?
I think about macros in a C++ environment like this:
class classname {
PERSISTENCY_BEGIN_STATIC_DATA(classname)
char[100] data1,
char[10] data2,
int data3
PERSISTENCY_END_STATIC_DATA
This simply would implement a stream based persistency, but don't care
about
syncing the data with them in a database. It also implies creation of
code to
read configuration data into a memory based representation.
Re: Syncronize dataset with database in multithreaded application. ... The configuration data is also stored in at database.... The DataSet is a reference type, so it's allways passed by reference. ... Of course you need make sure client code doesn't cache the reference to the shared DataSet. ... (microsoft.public.dotnet.framework.adonet)
Re: Help on proper method ???? ... I do not need to keep syncronistaion of memeory with back end database... becasue data which are pushed are configuration data that never change. ... Whnen a request is coming, I should be abvle to send back message 1, message ... If your memory cache is too ... (microsoft.public.dotnet.framework.remoting)
Re: How to Perform SQL Select on a DataSet ... The closest similie to a Select on a dataset is to use a combination of ... These values are different depending on the installation.... > I have re-created the database tables necessary into XML files and store ... > configuration data.... (microsoft.public.dotnet.framework.adonet)
Re: Web.config on load balanced servers ... But then of course you have a bootstrapping problem of how to tell each server what database to connect to. ... each server needs to be informed where to go look for your configuration data....config information in static classes or in the cache that someone ... (microsoft.public.dotnet.framework.aspnet)
Re: custom insert for databound datagridview ... gets put into the database until you hit the save button on the navigation ... CTP you can download that handles syncing with a mobile device, ... the desktop piece is SQL Server so you'd still need to write a custom sync... I am syncing between a PDA SQLCE... (microsoft.public.sqlserver.ce)