Obtain the Identity of a New Row Using LINQ

It's actually pretty easy and user friendly to obtain the value of the identity column using LINQ. After you create your object and insert it on submit, you can call the identity column's property on your object. For instance: Dim db As New BlogDataContext Read More...

Read the complete post at http://feeds.feedburner.com/~r/JasonNGaylord/~3/294452138/obtain-the-identity-of-a-new-row-using-linq.aspx

Published Tuesday, May 20, 2008 1:05 PM by Jason N. Gaylord's Blog
Powered by Community Server (Commercial Edition), by Telligent Systems