Welcome Guest Search | Active Topics | Members | Log In | Register

Contains/Unregister methods for UnitOfWork Options · View
Posted: Tuesday, November 15, 2011 8:09:14 AM
Rank: Newbie Coder
Groups: Member

Joined: 10/7/2011
Posts: 1
Points: 3
Hi guys
Methods shown above dont work in UnitOfWork class. Unregister doesnt remove items from the '_affectedobjects' dictionary, and Contains doesnt show if records are in the unit, even they are there. Maybe, there are bugs in dictionary key-value? I'm using unregister method because some of my records dont exist in the database.
Mark Piller
Posted: Wednesday, November 16, 2011 11:17:27 AM

Rank: Administration
Groups: Administration

Joined: 8/21/2006
Posts: 1,607
Points: 4,082
Location: Frisco, TX
I submitted this into our bug tracking system. It should be fixed in 4.5, but will show up in a nightly build on our site.



Mark Piller
Midnight Coders, Inc.
twitter: midnightcoder
blog: blog.themidnightcoders.com
website: www.themidnightcoders.com
Users browsing this topic

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version (NET v4.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.069 seconds.