Contact Us
Forum Home
>
DevForce
>
DevForce 2010
New Posts
FAQ
Search
Calendar
Register
Login
Concurrency Complex Type
Post Reply
Author
Message
Share Topic
Printable Version
Delicious
Digg
Facebook
Furl
Google Boomarks
Google Buzz
MySpace
Newsvine
reddit
StumbleUpon
Translate
Twitter
Windows Live
Yahoo Bookmarks
Topic Search
Topic Options
Post Reply
Create New Topic
smi-mark
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
DevForce MVP
Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options
Post Reply
Quote smi-mark
Report Post
Quote
Reply
Topic: Concurrency Complex Type
Posted: 26-Jan-2012 at 12:25pm
I have a complex type called Audit which holds audit info such as last modified and who by, it also has a RowVersion Int32 property.
RowVersion is set to Concurrency Mode = Fixed and ConcurrencyStrategy = AutoIncrement however it doesn't seem to be incrementing.
I have also set Audit to be Fixed on my actual object, and it still doesn't seem to make a difference.
Any thoughts? Is this a known issue?
smi-mark
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
DevForce MVP
Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options
Post Reply
Quote smi-mark
Report Post
Quote
Reply
Posted: 26-Jan-2012 at 1:10pm
For now I'm just handling this in my save interceptor and it is working fine.
DenisK
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
IdeaBlade
Joined: 25-Aug-2010
Posts: 715
Post Options
Post Reply
Quote DenisK
Report Post
Quote
Reply
Posted: 26-Jan-2012 at 4:28pm
Hi Mark,
Yes this is a known issue as EF doesn't allow a concurrency property to be defined within a ComplexType.
Post Reply
Forum Jump
-- Select Forum --
Community Forum
Community Forum
Community Forum now on StackOverflow
DevForce 2012
DevForce 2010
DevForce 2009
DevForce Classic
Forum Permissions
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