in my website i use Entity Data Model and i use linq to insert record to sql database
in one action i need to insert 2 record in 2 difrent related table. first i have to insert a topic and get the id of that topic and use it for post inserting.
can you please let me know how can i do that?
View Complete Post