How can we get an autogenerated Id from the Table While Inserting?

Posted by SAHIL SINGLA on Stack Overflow See other posts from Stack Overflow or by SAHIL SINGLA
Published on 2010-05-20T07:27:21Z Indexed on 2010/05/20 7:30 UTC
Read the original article Hit count: 157

Filed under:
|

How can we get an autogenerated Id from the Table While Inserting?

I have three tables

Project

ProjectXMilestone

Milestone

and on Insert of Milestone I also want to insert a row in 2nd Table so I need MilestoneId?so how can I get that? I am using Linq.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about LINQ