No announcements
Found 3098082 threads
-
0 Votes
The instance of entity type 'CA1.Models.CatBrand' cannot be tracked because another instance of this type with the same key is already being tracked.
; set; } } } Usage: var dog = new Category() { CategoryName = "DOG FOOD" }; var addict = new ...Answered | 2 Replies | 1113 Views | Created by Kelvin Cheng 98 - Friday, June 24, 2016 11:34 AM | Last reply by Zhanglong Wu - Monday, June 27, 2016 6:08 AM -
0 Votes
The instance of entity type 'Component' cannot be tracked because another instance with the same key value for {'ComponentId'} is already being tracked
User970350993 posted I got the solution, there was problem with Component binding, I was not using viewmodel instance. and there was other typo error on delete ...Answered | 1 Replies | 237 Views | Created by Anonymous - Monday, November 9, 2020 10:59 AM | Last reply by Anonymous - Monday, November 9, 2020 2:33 PM -
0 Votes
Self Tracking entity and 2 references to the same table
We are having a similar problem with self-tracking entities and frankly foreign key associations are a no-go area as far as ...Answered | 9 Replies | 10016 Views | Created by Wirlo - Monday, October 5, 2009 8:24 PM | Last reply by Ron van Pol - Tuesday, August 10, 2010 8:26 AM -
1 Votes
MVC and Self Tracking Entities
Create an entity instance with the appropriate key (i.e. from the route information) and concurrency values.Answered | 2 Replies | 8827 Views | Created by Stephen J Ward - Tuesday, November 24, 2009 2:47 AM | Last reply by Stephen J Ward - Wednesday, November 25, 2009 12:11 AM -
1 Votes
Failed to start tracking the pointer, because it is already being tracked.
</param> private void OnCoreWindowPointerPressed ( object sender, PointerEventArgs args ) { // In case we've lost the pointer capture, // just reset ...Answered | 11 Replies | 5959 Views | Created by ELRaymod - Saturday, June 9, 2012 5:21 AM | Last reply by rstg - Wednesday, August 7, 2013 4:46 PM -
0 Votes
The instance of entity type cannot be tracked because another instance with the same key value for {'ID'} is already being tracked.
https://stackoverflow.com/questions/39656794/entity-framework-update-insert-multiple-entities/39657786Unanswered | 1 Replies | 10871 Views | Created by Anonymous - Saturday, May 1, 2021 8:42 PM | Last reply by Anonymous - Saturday, May 1, 2021 9:41 PM -
1 Votes
New bits for self tracking entity
When Self tracking entities are received on the server and applied using ApplyChanges, how would it handle an entity having two different references that has the ...Answered | 6 Replies | 7363 Views | Created by zeeshan hirani - Thursday, December 31, 2009 3:36 PM | Last reply by Wilbur Littleton - Thursday, September 9, 2010 12:35 AM -
0 Votes
Self tracking entities and ApplyChanges method.
The case in which an entity is present in the context that has the same key as an entity in the incoming graph is not supported.Answered | 1 Replies | 6140 Views | Created by Aram Gugusian - Friday, July 31, 2009 6:45 AM | Last reply by Diego B Vega [MSFT] - Monday, August 10, 2009 1:29 AM -
0 Votes
EF4.1: An object with the same key already exists in the ObjectStateManager.
you don't need to new a ReshapedUser instance, just return the find result. all is object type, just to change it.Answered | 7 Replies | 6464 Views | Created by Gary_Clarke - Thursday, July 7, 2011 10:38 PM | Last reply by Gary_Clarke - Friday, July 15, 2011 2:43 PM -
0 Votes
Tracked service Instances @ BTS 2009
Track service host instance is used to put the tracking messages (receive/send locations on which tracking is enabled) DTA and BAM tracking data from ...Answered | 2 Replies | 5683 Views | Created by Raja.Kumaravel - Friday, September 11, 2009 9:27 AM | Last reply by Abdul Rafay - Friday, September 11, 2009 1:27 PM -
0 Votes
Self-Tracking Entity over WCF causes duplicate key error
Hi Guys, I am using entity framework 4 with self tracking entities and silverlight for UI.Answered | 5 Replies | 7423 Views | Created by nicholascloud - Tuesday, August 4, 2009 6:41 PM | Last reply by Syed2 - Friday, October 29, 2010 1:57 AM -
1 Votes
Update And Delete Self-Tracking Entities in Master-Datail
When a change is made in a relationship, the foreign key property is set to a NULL value.Answered | 15 Replies | 10750 Views | Created by JA Reyes - Wednesday, June 2, 2010 8:53 AM | Last reply by Marco Guignard - Thursday, September 6, 2018 1:05 PM -
0 Votes
DataServiceContext - Entity Tracking
= no tracking), it tracks the identity of the entities.Answered | 1 Replies | 4001 Views | Created by bobbydigiscale - Saturday, December 13, 2008 1:20 AM | Last reply by Peter Qian - MSFT - Saturday, December 13, 2008 7:49 AM -
1 Votes
biztalk Tracked service instances not showing
These are triggered by the tracking host or the SQL Agent job if you are tracking body (content) of the message.Answered | 4 Replies | 1898 Views | Created by sandydv85 - Thursday, February 20, 2014 2:22 PM | Last reply by Tord G. Nordahl - Monday, February 24, 2014 1:13 PM -
0 Votes
type 'CreditCard' cannot be tracked because another instance with the same key value for {'Id'} is already being tracked.
The same property values, with the same id.Answered | 1 Replies | 840 Views | Created by Anonymous - Saturday, December 15, 2018 5:20 PM | Last reply by Anonymous - Monday, December 17, 2018 8:30 AM -
0 Votes
self-tracking entities
Hello Manfred and Migs, Is there any chance that you were trying to test self tracking entities within the same process without serializing them?Answered | 6 Replies | 5937 Views | Created by ManfredSteyer - Thursday, July 9, 2009 12:48 AM | Last reply by Migs Martinez - Thursday, July 30, 2009 3:13 AM -
0 Votes
Should Disconnected / Self-Tracking Entities Fire the OptimisticConcurrencyException?
When the foreign key is present, that is enough information for the Self-Tracking Entity to realize that the two objects are related, and that there are ...Answered | 6 Replies | 6409 Views | Created by SpinalTap - Friday, November 20, 2009 8:54 PM | Last reply by Koen j - Thursday, February 3, 2011 7:47 AM -
0 Votes
The context is already tracking a different entity with the same resource Uri between integration test runs.
This resolved the tracking issue.Answered | 2 Replies | 858 Views | Created by Stuart1962 - Tuesday, September 22, 2015 11:26 AM | Last reply by Stuart1962 - Thursday, October 8, 2015 2:31 PM -
0 Votes
how to get track of all new instances of classes
Create a list or a dictionary of human so they can be access from index or from a keyAnswered | 1 Replies | 1824 Views | Created by lipje - Tuesday, July 26, 2011 11:52 AM | Last reply by Crazypennie - Tuesday, July 26, 2011 2:12 PM -
0 Votes
WCF Self Tracking Entities and JSON
Entity tracking is service implementation detail, which must be hidden inside your service.Answered | 5 Replies | 4220 Views | Created by forwheeler - Thursday, September 8, 2011 2:04 PM | Last reply by Yi-Lun Luo - Wednesday, September 14, 2011 1:50 AM - Items 1 to 20 of 3098082 Next ›
No announcements