logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • 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 


  • Technology problems


    Search Results


    • 1. Write the basic syntax of a LINQ query in Visual Basic as well as in C#.
    • Discuss
    • 2. What is Language Integrated Query (LINQ)?
    • Discuss
    • 3. Mention the two major categories that distinctly classify the variables of C# programs.
    • Discuss
    • 4. How can you deploy an ASP.NET Web application?
    • Discuss
    • 5. List different ways of deployment that are supported by .NET Framework 4.0.
    • Discuss
    • 6. What are standard query operators in LINQ?
    • Discuss
    • 7. Which interface implements the standard query operators in LINQ?
    • Discuss
    • 8. What are Windows services?
    • Discuss
    • 9. Which class in .NET is used to install a Windows service?
    • Discuss
    • 10. What is ASP.NET AJAX?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment