SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 412 | Next

Scott Klein

"Professional LINQ"


??‘ The data you requested has been changed in the database since you requested the data.
For example, you request contact information for Bob. Your entity class is populated with Bob??™s information.
While the data sits in your entity class within your application, you begin to change some of
the information within the class, such as Bob??™s address. However, while you are making those changes,
someone else has also changed Bob??™s data and saved it back to the database. Now when you try to save
your changes to the database, you have a concurrency conflict.
How do you resolve this? You need to find out which members of the object are ??????in conflict??™??™ and then
decide how you want to resolve those conflicts.
The information that follows will help you with those decisions.
UpdateCheck
The UpdateCheck property is a property of the [Column] attribute. It tells LINQ to SQL how to handle
optimistic concurrency conflicts when conflicts are detected. Any members of a class that are attributed
with this property are included in update checks to primarily help detect concurrency conflicts.


Pages:
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6