How can I know which of the following linq queries will be executed?
// I think this will not be executed
var temp1 = PdvEntities.Entities.Products;
// Not sure
IEnumerable<Data.Products> temp2 = PdvEntities.Entities.Products;
// will not be executed
var temp3 = from a in PdvEntities.Entities.Products select a;
ListView lv1 = new ListView();
lv1.DataContext = temp1; // will this make the first query to be executed?
lv1.ItemsSource = temp2; // will this make the second query execute?
// I think this will be executed
var temp4 = PdvEntities.Entities.Products.ToList();
note I am using the ADO.Net entity data model to execute the queries from the table Products in my database