tags:

views:

39

answers:

1

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?

+2  A: 

Until you enumerate the collection no data is loaded

Gregoire