EntityFrameworkCore.ClickHouse icon indicating copy to clipboard operation
EntityFrameworkCore.ClickHouse copied to clipboard

The instance of entity type 'AnswerSheet' cannot be tracked because another instance with the same key value for {'SheetId'} is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.

Open qiqistart opened this issue 2 years ago • 1 comments

halo ,author ,Update Data report an error:The instance of entity type 'AnswerSheet' cannot be tracked because another instance with the same key value for {'SheetId'} is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.

qiqistart avatar Jun 07 '22 08:06 qiqistart

Please, try a new version EntityFrameworkCore.ClickHouse/0.0.12 and if it's still reproducible provide a minimum working example.

denis-ivanov avatar Apr 07 '24 14:04 denis-ivanov

Provide full example and open a new issue.

denis-ivanov avatar Apr 29 '24 15:04 denis-ivanov