DLinq: How to get identity value after inserting a new row in table

May 9 2009 5:39 AM

I am using Dling/ LinqDatacontext with my application.
I can insert a  row in the table by

LINQDataContext.TableName.Add(tableInstance);

it's adding successfully  a row in the table.
My problem is I want to retrieve the Identity value of the table after inserting a row. ( in the same way we can do by using Execute Scaler method)
I don't know how we can do this, when using Dlinq.
Please help me out!
Thanks in advance