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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment