instance of entity type cannot be tracked because another instance with same key value is tracked-EF

preview_player
Показать описание
instance of entity type cannot be tracked because another instance with same key value is tracked - EF Core
Рекомендации по теме
Комментарии
Автор

This is a fantastic video. This how to communicate the solution to a problem, clearly state the problem and then explain the answers. Thanks very much, saved me sleepless nights

godwinyoh
Автор

im from brazil and you help me a lot. Thank you

Shoyoish
Автор

Thank you so much sir i Resolve my Error

ahmerali
Автор

Thanks for useful content, it solves my problem at 2nd option.

gunduzemreozer
Автор

Thx for detail explanations, but I have still tracking issue

sergeyvasilenko
Автор

Thanks, you help me a lot in my project

longtruonghuynhai
Автор

Thanks for the video but I am not following. Can you see what I am doing wrong here.

public async Task<int> Update(IOTManagerDTO objDTO)
{
var objDb = await => u.Id == objDTO.Id);
if (objDb != null)
{
var objDbDTO = _mapper.Map<IOTManagerDTO, IOTDevice>(objDTO);

= EntityState.Modified;
await
}

waynehawkins