skip to main | skip to sidebar

Wednesday, September 3, 2008

What is DataContext in LINQ?

DataContext is a class that gives direct access to C# classes, database connections etc. This class is genereated when the designer is saved. For a file named NorthwindDataClasses.dbml, the class NorthwindDataClassesDataContext is automatically generated. It contains the definition of tables and stored procedures.
Posted by Siva at 4:53 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

dotnet questions bank

Blog Archive

  • ►  2009 (18)
    • ►  March (16)
    • ►  February (2)
  • ▼  2008 (14)
    • ▼  September (14)
      • Difference between MVP and MVC pattern?
      • Sample Source code for Bulk insert using OPENXML?
      • What are the replacements for TEXT, NTEXT and IMAG...
      • whats the maximum size of XML datatype?
      • Whats the maximum size of varchar(max)?
      • Whats the maximum size of Varchar?
      • wha are new features of .net Framwork 3.5 service ...
      • SQL Server Release history?
      • LinQ sample Queries to Database?
      • What is LINQ to SQL?
      • why Compiled queries(LINQ) are faster?
      • SQL query VS Parametrized queries?
      • What is DataContext in LINQ?
      • What are the familiar javascript engines?

About Me

Siva
View my complete profile