hello,
i am inserting data in LinQ it works i want to return the inserted identity value after insertion in linq
this is my mehtod
db.users.Add(products); db.SaveChanges();
Hi auna,
Reefer below links -
https://stackoverflow.com/questions/113928/can-i-return-the-id-field-after-a-linq-insert
https://stackoverflow.com/questions/23628809/return-id-after-insert-with-linq-to-sql
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.