Peter Himschoot's Windows Foundation Trilogy

Talking about .NET, Windows Presentation Foundation, Workflow Foundation and Communication Foundation

U2U provides .NET development training, coaching and consultancy services. We are based in Brussels but active in Europe, Middle-East and Africa. If you are interested in our course calendar or want to organize an on-site training, have a look at our Web site - www.u2u.net

My Links

News

Peter Himschoot
E-mail: peter@u2u.net
Mobile: +32 475 970084

Post Categories

Archives

Blog Stats

Solving DbConcurrencyException

I am currently writing an article on solving ADO.NET DbConcurrencyException automatically with a class I've written (a pet-project of mine called AutoResolver).

Using configuration, and two simple lines of code this class should handle most of the problems. Expect it soon...

_resolver = new AutoResolver();

_resolver.Attach(ProductsTable, productsAdapter);

Currently the class can solve a concurrent update (on a column per column basis) using:

Last-One-Wins: this means that your column's value is used in the update, overwriting the last change. (How rude!)

Use-Db-Value: this throws away your change, preferring the current value in the database. (You're too nice).

Use-Db-Value-IfUnchanged: this uses the current database's value for a column, on condition you did not change this column in your row. (Usefull)

Merge: this merges the update made to the column in the database with your changes. Usefull for example if the column is some kind of counter. For example if you decrement the value, and another user also decremented the value, merging will update the value with both decrements. (Usefull)

Event: in this case the component uses an event giving you the chance to write some code to do the three-way merge (current row in database, the original value of the row, and your changes).

I could use your help however. What kind of concurrency problems have you faced? What was the hardest one you had? Would you be able to resolve it using one of the above?

So please use the feedback link. Any usefull information will end up in the article and the AutoResolver... So will your name :)

By the way, I've used Team System Unit Testing, and it works great!

posted on Saturday, July 16, 2005 5:16 AM

Feedback

# re: Solving DbConcurrencyException 7/18/2005 9:06 AM Peter Jones

Wow, that could be VERY useful.

The old VB6 app I'm currently re-writting in .Net 2 has a window that lets the user choose which version to keep - server or theirs.

I'm not sure why you need an adapter though. Doesn't the dataset have enough information? If I was to use this from the client application, it won't have access to the server data adapters. The datasets all come from a web service.

# re: Solving DbConcurrencyException 11/21/2006 1:28 AM Selina

thanks.
i'm suffering from this.

# re: Solving DbConcurrencyException 12/5/2006 10:14 AM 窃听器

good~

# re: Solving DbConcurrencyException 12/9/2006 9:46 AM 硬盘数据恢复

ok~

# re: Solving DbConcurrencyException 2/19/2007 6:31 PM ,jkjj

http://gaycock.liveadulthost.com/gay-anal.html
http://gaycock.liveadulthost.com/gay-anime.html
http://gaycock.liveadulthost.com/gay-asian.html
http://gaycock.liveadulthost.com/gay-bear.html
http://gaycock.liveadulthost.com/gay-black.html
http://gaycock.liveadulthost.com/gay-blowjob.html
http://gaycock.liveadulthost.com/gay-boy.html
http://gaycock.liveadulthost.com/gay-cartoon.html
http://gaycock.liveadulthost.com/gay-cock.html
http://gaycock.liveadulthost.com/gay-college.html
http://gaycock.liveadulthost.com/gay-cum.html
http://gaycock.liveadulthost.com/gay-dating.html
http://gaycock.liveadulthost.com/gay-ebony.html
http://gaycock.liveadulthost.com/gay-free-chat.html
http://gaycock.liveadulthost.com/gay-free-sex.html
http://gaycock.liveadulthost.com/gay-fuck.html
http://gaycock.liveadulthost.com/gay-hairy.html
http://gaycock.liveadulthost.com/gay-hentai.html
http://gaycock.liveadulthost.com/gay-hunks.html
http://gaycock.liveadulthost.com/gay-latino.html
http://gaycock.liveadulthost.com/gay-male.html
http://gaycock.liveadulthost.com/gay-manga.html
http://gaycock.liveadulthost.com/gay-mature.html
http://gaycock.liveadulthost.com/gay-men.html
http://gaycock.liveadulthost.com/gay-movies.html
http://gaycock.liveadulthost.com/gay-muscle.html
http://gaycock.liveadulthost.com/gay-older.html
http://gaycock.liveadulthost.com/gay-personals.html
http://gaycock.liveadulthost.com/gay-pics.html
http://gaycock.liveadulthost.com/gay-porn.html
http://gaycock.liveadulthost.com/gay-sex.html
http://gaycock.liveadulthost.com/gay-teen.html
http://gaycock.liveadulthost.com/gay-twinks.html
http://gaycock.liveadulthost.com/gay-videos.html
http://gaycock.liveadulthost.com/gay-webcams.html
http://gaycock.liveadulthost.com/hairy-man.html
http://gaycock.liveadulthost.com/male.html
http://gaycock.liveadulthost.com/naked-man.html
http://gaycock.liveadulthost.com/young-gay.html
http://gaycock.liveadulthost.com/hot-guy.html



http://transsexual.liveadulthost.com/tranny.html
http://transsexual.liveadulthost.com/transsexual.html
http://transsexual.liveadulthost.com/shemale.html



http://xxxmoviessexvideos.liveadulthost.com/amateur.html
http://xxxmoviessexvideos.liveadulthost.com/anal.html
http://xxxmoviessexvideos.liveadulthost.com/anime.html
http://xxxmoviessexvideos.liveadulthost.com/asian.html
http://xxxmoviessexvideos.liveadulthost.com/bbw.html
http://xxxmoviessexvideos.liveadulthost.com/bdsm.html
http://xxxmoviessexvideos.liveadulthost.com/big-boobs.html
http://xxxmoviessexvideos.liveadulthost.com/big-cocks.html
http://xxxmoviessexvideos.liveadulthost.com/big-tits.html
http://xxxmoviessexvideos.liveadulthost.com/bisexual.html
http://xxxmoviessexvideos.liveadulthost.com/bizarre.html
http://xxxmoviessexvideos.liveadulthost.com/black.html
http://xxxmoviessexvideos.liveadulthost.com/blondes.html
http://xxxmoviessexvideos.liveadulthost.com/blowjob.html
http://xxxmoviessexvideos.liveadulthost.com/bondage.html
http://xxxmoviessexvideos.liveadulthost.com/brunette.html
http://xxxmoviessexvideos.liveadulthost.com/busty.html
http://xxxmoviessexvideos.liveadulthost.com/cartoon.html
http://xxxmoviessexvideos.liveadulthost.com/centerfold.html
http://xxxmoviessexvideos.liveadulthost.com/cumshot.html
http://xxxmoviessexvideos.liveadulthost.com/doggystyle.html
http://xxxmoviessexvideos.liveadulthost.com/double-penetration.html
http://xxxmoviessexvideos.liveadulthost.com/drunk-girls.html
http://xxxmoviessexvideos.liveadulthost.com/ebony.html
http://xxxmoviessexvideos.liveadulthost.com/ethnic.html
http://xxxmoviessexvideos.liveadulthost.com/facial.html
http://xxxmoviessexvideos.liveadulthost.com/fat.html
http://xxxmoviessexvideos.liveadulthost.com/feet.html
http://xxxmoviessexvideos.liveadulthost.com/femdom.html
http://xxxmoviessexvideos.liveadulthost.com/fetish.html
http://xxxmoviessexvideos.liveadulthost.com/gangbang.html
http://xxxmoviessexvideos.liveadulthost.com/group.html
http://xxxmoviessexvideos.liveadulthost.com/hairy-girls.html
http://xxxmoviessexvideos.liveadulthost.com/handjob.html
http://xxxmoviessexvideos.liveadulthost.com/hardcore.html
http://xxxmoviessexvideos.liveadulthost.com/hentai.html
http://xxxmoviessexvideos.liveadulthost.com/hot-girl.html
http://xxxmoviessexvideos.liveadulthost.com/indian.html
http://xxxmoviessexvideos.liveadulthost.com/interracial.html
http://xxxmoviessexvideos.liveadulthost.com/latino.html
http://xxxmoviessexvideos.liveadulthost.com/legs.html
http://xxxmoviessexvideos.liveadulthost.com/lesbian.html
http://xxxmoviessexvideos.liveadulthost.com/live.html
http://xxxmoviessexvideos.liveadulthost.com/manga.html
http://xxxmoviessexvideos.liveadulthost.com/masturbation.html
http://xxxmoviessexvideos.liveadulthost.com/mature.html
http://xxxmoviessexvideos.liveadulthost.com/milf.html
http://xxxmoviessexvideos.liveadulthost.com/older-women.html
http://xxxmoviessexvideos.liveadulthost.com/oral.html
http://xxxmoviessexvideos.liveadulthost.com/orgy.html
http://xxxmoviessexvideos.liveadulthost.com/panties.html
http://xxxmoviessexvideos.liveadulthost.com/pantyhose.html
http://xxxmoviessexvideos.liveadulthost.com/petite.html
http://xxxmoviessexvideos.liveadulthost.com/porn-movies.html
http://xxxmoviessexvideos.liveadulthost.com/porn-stars.html
http://xxxmoviessexvideos.liveadulthost.com/porn-videos.html
http://xxxmoviessexvideos.liveadulthost.com/reality.html
http://xxxmoviessexvideos.liveadulthost.com/redhead.html
http://xxxmoviessexvideos.liveadulthost.com/sex-toys.html
http://xxxmoviessexvideos.liveadulthost.com/sex-videos.html
http://xxxmoviessexvideos.liveadulthost.com/shaved.html
http://xxxmoviessexvideos.liveadulthost.com/smoking.html
http://xxxmoviessexvideos.liveadulthost.com/spanking.html
http://xxxmoviessexvideos.liveadulthost.com/teen.html
http://xxxmoviessexvideos.liveadulthost.com/upskirt.html
http://xxxmoviessexvideos.liveadulthost.com/voyeur.html
http://xxxmoviessexvideos.liveadulthost.com/webcams.html
http://xxxmoviessexvideos.liveadulthost.com/young.html


http://amateurxxxvideo.greatestcities.com/
http://analxxxvideos.greatestcities.com/
http://animexxxvideos.greatestcities.com/
http://asianxxxvideos.greatestcities.com/
http://bbwxxxvideos.greatestcities.com/
http://bdsmxxxvideos.greatestcities.com/
http://bigboobsxxxvide.greatestcities.com/
http://bigcocksxxxvide.greatestcities.com/
http://bigtitsxxxvideo.greatestcities.com/
http://bisexualxxxvide.greatestcities.com/
http://bizarrexxxvideo.greatestcities.com/
http://blackxxxvideos.greatestcities.com/
http://blondesxxxvideo.greatestcities.com/
http://blowjobxxxvideo.greatestcities.com/
http://bondagexxxvideo.greatestcities.com/
http://brunettexxxvide.greatestcities.com/
http://bustyxxxvideos.greatestcities.com/
http://cartoonxxxvideo.greatestcities.com/
http://centerfoldxxxvi.greatestcities.com/
http://cumshotxxxvideo.greatestcities.com/
http://doggystylexxxvi.greatestcities.com/
http://doublepenetrati.greatestcities.com/
http://drunkgirlsxxxvi.greatestcities.com/
http://ebonyxxxvideos.greatestcities.com/
http://ethnicxxxvideos.greatestcities.com/
http://facialxxxvideos.greatestcities.com/
http://fatxxxvideos.greatestcities.com/
http://feetxxxvideos.greatestcities.com/
http://femdomxxxvideos.greatestcities.com/
http://fetishxxxvideos.greatestcities.com/
http://gangbangxxxvide.greatestcities.com/
http://gayanalxxxvideo.greatestcities.com/
http://gayanimexxxvide.greatestcities.com/
http://gayasianxxxvide.greatestcities.com/
http://gaybearxxxvideo.greatestcities.com/
http://gayblackxxxvide.greatestcities.com/
http://gayblowjobxxxvi.greatestcities.com/
http://gayboyxxxvideos.greatestcities.com/
http://gaycartoonxxxvi.greatestcities.com/
http://gaycockxxxvideo.greatestcities.com/
http://gaycollegexxxvi.greatestcities.com/
http://gaycumxxxvideos.greatestcities.com/
http://gaydatingxxxvid.greatestcities.com/
http://gayebonyxxxvide.greatestcities.com/
http://gayfreechatxxxv.greatestcities.com/
http://gayfreesexxxxvi.greatestcities.com/
http://gayfuckxxxvideo.greatestcities.com/
http://gayhairyxxxvide.greatestcities.com/
http://gayhentaixxxvid.greatestcities.com/
http://gayhunksxxxvide.greatestcities.com/
http://gaylatinoxxxvid.greatestcities.com/
http://malexxxvideos.greatestcities.com/">http://malexxxvideos.greatestcities.com/
http://gaymangaxxxvide.greatestcities.com/
http://gaymaturexxxvid.greatestcities.com/
http://gaymenxxxvideos.greatestcities.com/
http://gaymoviesxxxvid.greatestcities.com/
http://gaymusclexxxvid.greatestcities.com/
http://gayolderxxxvide.greatestcities.com/
http://gaypersonalsxxx.greatestcities.com/
http://gaypicsxxxvideo.greatestcities.com/
http://gaypornxxxvideo.greatestcities.com/
http://gaysexxxxvideos.greatestcities.com/
http://gayteenxxxvideo.greatestcities.com/
http://gaytwinksxxxvid.greatestcities.com/
http://gayvideosxxxvid.greatestcities.com/
http://gaywebcamsxxxvi.greatestcities.com/
http://hairymanxxxvide.greatestcities.com/
http://malexxxvideos.greatestcities.com/">http://malexxxvideos.greatestcities.com/
http://nakedmanxxxvide.greatestcities.com/
http://younggayxxxvide.greatestcities.com/
http://groupxxxvideos.greatestcities.com/
http://hairygirlsxxxvi.greatestcities.com/
http://handjobxxxvideo.greatestcities.com/
http://hardcorexxxvide.greatestcities.com/
http://hentaixxxvideos.greatestcities.com/
http://hotgirlxxxvideo.greatestcities.com/
http://hotguyxxxvideos.greatestcities.com/
http://indianxxxvideos.greatestcities.com/
http://interracialxxxv.greatestcities.com/
http://latinoxxxvideos.greatestcities.com/
http://legsxxxvideos.greatestcities.com/
http://lesbianxxxvideo.greatestcities.com/
http://livexxxvideos.greatestcities.com/
http://mangaxxxvideos.greatestcities.com/
http://masturbationxxx.greatestcities.com/
http://maturexxxvideos.greatestcities.com/
http://milfxxxvideos.greatestcities.com/
http://olderwomenxxxvi.greatestcities.com/
http://oralxxxvideos.greatestcities.com/
http://orgyxxxvideos.greatestcities.com/
http://pantiesxxxvideo.greatestcities.com/
http://pantyhosexxxvid.greatestcities.com/
http://petitexxxvideos.greatestcities.com/
http://pornmoviesxxxvi.greatestcities.com/
http://pornstarsxxxvid.greatestcities.com/
http://pornvideosxxxvi.greatestcities.com/
http://realityxxxvideo.greatestcities.com/
http://redheadxxxvideo.greatestcities.com/
http://sextoysxxxvideo.greatestcities.com/
http://sexvideosxxxvid.greatestcities.com/
http://shavedxxxvideos.greatestcities.com/
http://shemalexxxvideo.greatestcities.com/
http://smokingxxxvideo.greatestcities.com/
http://spankingxxxvide.greatestcities.com/
http://teenxxxvideos.greatestcities.com/
http://trannyxxxvideos.greatestcities.com/
http://transsexualxxxv.greatestcities.com/
http://upskirtxxxvideo.greatestcities.com/
http://voyeurxxxvideos.greatestcities.com/
http://webcamsxxxvideo.greatestcities.com/
http://youngxxxvideos.greatestcities.com/


http://amateurxxxmovies.ksiegagosci.info/
http://pornvideosxxxmovies.ksiegagosci.info/">http://pornvideosxxxmovies.ksiegagosci.info/
http://analxxxmovies.ksiegagosci.info/
http://animexxxmovies.ksiegagosci.info/
http://asianxxxmovies.ksiegagosci.info/
http://bbwxxxmovies.ksiegagosci.info/
http://bdsmxxxmovies.ksiegagosci.info/
http://bigboobsxxxmovies.ksiegagosci.info/
http://bigcocksxxxmovies.ksiegagosci.info/
http://bigtitsxxxmovies.ksiegagosci.info/
http://bisexualxxxmovies.ksiegagosci.info/
http://bizarrexxxmovies.ksiegagosci.info/
http://blackxxxmovies.ksiegagosci.info/
http://blondesxxxmovies.ksiegagosci.info/
http://blowjobxxxmovies.ksiegagosci.info/
http://bondagexxxmovies.ksiegagosci.info/
http://brunettexxxmovies.ksiegagosci.info/
http://bustyxxxmovies.ksiegagosci.info/
http://cartoonxxxmovies.ksiegagosci.info/
http://centerfoldxxxmovies.ksiegagosci.info/
http://cumshotxxxmovies.ksiegagosci.info/
http://doggystylexxxmovies.ksiegagosci.info/
http://doublepenetrationxxxmovies.ksiegagosci.info/
http://drunkgirlsxxxmovies.ksiegagosci.info/
http://ebonyxxxmovies.ksiegagosci.info/
http://ethnicxxxmovies.ksiegagosci.info/
http://facialxxxmovies.ksiegagosci.info/
http://fatxxxmovies.ksiegagosci.info/
http://feetxxxmovies.ksiegagosci.info/
http://femdomxxxmovies.ksiegagosci.info/
http://fetishxxxmovies.ksiegagosci.info/
http://gangbangxxxmovies.ksiegagosci.info/
http://gayanalxxxmovies.ksiegagosci.info/
http://gayanimexxxmovies.ksiegagosci.info/
http://gayasianxxxmovies.ksiegagosci.info/
http://gaybearxxxmovies.ksiegagosci.info/
http://gayblackxxxmovies.ksiegagosci.info/
http://gayblowjobxxxmovies.ksiegagosci.info/
http://gayboyxxxmovies.ksiegagosci.info/
http://gaycartoonxxxmovies.ksiegagosci.info/
http://gaycockxxxmovies.ksiegagosci.info/
http://gaycollegexxxmovies.ksiegagosci.info/
http://gaycumxxxmovies.ksiegagosci.info/
http://gaydatingxxxmovies.ksiegagosci.info/
http://gayebonyxxxmovies.ksiegagosci.info/
http://gayfreechatxxxmovies.ksiegagosci.info/
http://gayfreesexxxxmovies.ksiegagosci.info/
http://gayfuckxxxmovies.ksiegagosci.info/
http://gayhairyxxxmovies.ksiegagosci.info/
http://gayhentaixxxmovies.ksiegagosci.info/
http://gayhunksxxxmovies.ksiegagosci.info/
http://gaylatinoxxxmovies.ksiegagosci.info/
http://gaymalexxxmovies.ksiegagosci.info/
http://gaymangaxxxmovies.ksiegagosci.info/
http://gaymaturexxxmovies.ksiegagosci.info/
http://gaymenxxxmovies.ksiegagosci.info/
http://gaymoviesxxxmovies.ksiegagosci.info/
http://gaymusclexxxmovies.ksiegagosci.info/
http://gayolderxxxmovies.ksiegagosci.info/
http://gaypersonalsxxxmovies.ksiegagosci.info/
http://gaypicsxxxmovies.ksiegagosci.info/
http://gaypornxxxmovies.ksiegagosci.info/
http://gaysexxxxmovies.ksiegagosci.info/
http://gayteenxxxmovies.ksiegagosci.info/
http://gaytwinksxxxmovies.ksiegagosci.info/
http://gayvideosxxxmovies.ksiegagosci.info/
http://gaywebcamsxxxmovies.ksiegagosci.info/
http://hairymanxxxmovies.ksiegagosci.info/
http://malexxxmovies.ksiegagosci.info/
http://nakedmanxxxmovies.ksiegagosci.info/
http://younggayxxxmovies.ksiegagosci.info/
http://groupxxxmovies.ksiegagosci.info/
http://hairygirlsxxxmovies.ksiegagosci.info/
http://handjobxxxmovies.ksiegagosci.info/
http://hardcorexxxmovies.ksiegagosci.info/
http://hentaixxxmovies.ksiegagosci.info/
http://hotgirlxxxmovies.ksiegagosci.info/
http://hotguyxxxmovies.ksiegagosci.info/
http://indianxxxmovies.ksiegagosci.info/
http://interracialxxxmovies.ksiegagosci.info/
http://latinoxxxmovies.ksiegagosci.info/
http://legsxxxmovies.ksiegagosci.info/
http://lesbianxxxmovies.ksiegagosci.info/
http://livexxxmovies.ksiegagosci.info/
http://mangaxxxmovies.ksiegagosci.info/
http://masturbationxxxmovies.ksiegagosci.info/
http://maturexxxmovies.ksiegagosci.info/
http://milfxxxmovies.ksiegagosci.info/
http://olderwomenxxxmovies.ksiegagosci.info/
http://oralxxxmovies.ksiegagosci.info/
http://orgyxxxmovies.ksiegagosci.info/
http://pantiesxxxmovies.ksiegagosci.info/
http://pantyhosexxxmovies.ksiegagosci.info/
http://petitexxxmovies.ksiegagosci.info/
http://pornmoviesxxxmovies.ksiegagosci.info/
http://pornstarsxxxmovies.ksiegagosci.info/
http://pornvideosxxxmovies.ksiegagosci.info/">http://pornvideosxxxmovies.ksiegagosci.info/
http://realityxxxmovies.ksiegagosci.info/
http://redheadxxxmovies.ksiegagosci.info/
http://sextoysxxxmovies.ksiegagosci.info/
http://sexvideosxxxmovies.ksiegagosci.info/
http://shavedxxxmovies.ksiegagosci.info/
http://shemalexxxmovies.ksiegagosci.info/
http://smokingxxxmovies.ksiegagosci.info/
http://spankingxxxmovies.ksiegagosci.info/
http://teenxxxmovies.ksiegagosci.info/
http://trannyxxxmovies.ksiegagosci.info/
http://transsexualxxxmovies.ksiegagosci.info/
http://upskirtxxxmovies.ksiegagosci.info/
http://voyeurxxxmovies.ksiegagosci.info/
http://webcamsxxxmovies.ksiegagosci.info/
http://youngxxxmovies.ksiegagosci.info/

Title  
Name  
Url
Comments   
Protected by Clearscreen.SharpHIPEnter the code you see: