How to return the ID field after the insert in Entity Framework ?
February 15, 2013
0
There are times when you want to retrieve the ID of the last inserted record when using Entity Framework . For example , Employee emp = new Employee(); emp.ID = -1; emp.Name = "Senthil Kumar …