What does DataContext.GetTable<TEntry> do?
Posted
by Bryan
on Stack Overflow
See other posts from Stack Overflow
or by Bryan
Published on 2010-04-28T18:31:37Z
Indexed on
2010/04/28
18:37 UTC
Read the original article
Hit count: 231
linq-to-sql
Consider I have a DataContext db
, and there is an Entity class User
. So when System.Data.Linq.Table<User> table = db.GetTable<User>();
is called for the first time, does it pull the data from the database immediately, does it use deferred execution, or were the data already loaded from database when db
was initialized?
© Stack Overflow or respective owner