Explanation:LINQ provides much more flexibility of select single item/row from database table like ‘DBNameDataContext’. 9. Which of the following method is used to delete records in LINQ ?
A. DeleteOn
B. Delete
C. DeleteOnSubmit
D. None of the mentioned
Answer:A
Explanation:LINQ provides much more flexibility of select single item/row from database table like ‘DBNameDataContext’. 9. Which of the following method is used to delete records in LINQ ?
A. DeleteOn B. Delete C. DeleteOnSubmit D. None of the mentioned
Explanation:DeleteOnSubmit is used to delete rows from a table in LINQ to SQL conversion. 10. Which of the following code in LINQ performs functionality similar to joins in SQL ?