Only getting changed data
Posted: Thu 16 Jul 2009 07:37
Hey
Is there a way, how to "only" get changed data from the server?
As an example:
Let's say, I have an central server where all my customers names are stored. - By loading my program, all these customers are loaded into a Grid. - When a a second user on an other PC also loads my program and changes some customers data, then the first one, does not have the correct data anymore, so I want to make a Timer, that the program itself always looks for any kind of changed data and automaticly send to the user.
Hope you understand and can help me, how to realise this with LinQ to SQL
THX
PS: If this will help: I use one column as a timestamp and a trigger, so in the Class the timestamp field is declared as IsVersion.
Is there a way, how to "only" get changed data from the server?
As an example:
Let's say, I have an central server where all my customers names are stored. - By loading my program, all these customers are loaded into a Grid. - When a a second user on an other PC also loads my program and changes some customers data, then the first one, does not have the correct data anymore, so I want to make a Timer, that the program itself always looks for any kind of changed data and automaticly send to the user.
Hope you understand and can help me, how to realise this with LinQ to SQL
THX
PS: If this will help: I use one column as a timestamp and a trigger, so in the Class the timestamp field is declared as IsVersion.