This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I'm experiencing an issue where the Id for an entity (I'm using guids) is not being set and is causing primary key constraint errors because of the duplicate default keys. I'm not adding the entity directly to the repository, instead its parent entity is being assigned to an entity property on the class within its constructor. The parent entity is then being added to the repository and saved. I can get around the issue by getting the entity Id, i.e. Guid temp = entity.Id
~ James |
|
|
Hey James, Can you post a quick code sample illustrating the issue? Cheers, Andrew. |
|
|
James, no worries I've tracked down the issue and am fixing it as we speak. Cheers, Andrew. |
|
|
Andrew,
Uh, never mind, I guess *grin*. Cheers, Ivan |
|