logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology See What Others Are Saying!
  • Question
  • What is the DataContext class and how is it related to LINQ?


  • Correct Answer
  • After you add a LINQ to SQL Classes item to a project and open the O/R Designer, the empty design surface represents an empty DataContext class ready to be configured The DataContext class is a LINQ to SQL class that acts as a conduit between a SQL Server database and the LINQ to SQL entity classes mapped to that database This class contains the connection string information and the methods for connecting to a database and manipulating the data in the database It is configured with connection information provided by the first item that is dragged onto the design surface 


  • More questions

    • 1. What is onshore outsourcing?
    • Discuss
    • 2. What is the Use of SPAN in HTML and give one example?
    • Discuss
    • 3. .What are the different types of environments available in the web?
    • Discuss
    • 4. What is web portal?
    • Discuss
    • 5. What is web application?
    • Discuss
    • 6. Describe a time when your workload was heavy and how you handled it?
    • Discuss
    • 7. Describe a time when you made a mistake ?
    • Discuss
    • 8. How do you parse/validate the XML document?
    • Discuss
    • 9. What major challenges and problems did you face? How did you handle them?
    • Discuss
    • 10. What do you like to do when you're not at work?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment