Click here to Skip to main content
16,020,626 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm using repository pattern with ef core 2.2 , whet i try to update record with string PK , method Find(Key) cannot find the record.

but when i change the PK to identity INT method work !!!

What I have tried:

Imgur: The magic of the Internet[^]

Imgur: The magic of the Internet[^]
Posted
Updated 22-Feb-19 5:14am
v2
Comments
Ahmed Dabas 23-Feb-19 6:28am    
no one can give me answer
ranjanichitra 27-Mar-19 8:34am    
Can u check with the spaces?.Also are you using Microsoft SQL server?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900