One of the things you beat as a junior developer is that you never do "SELECT *" in a dataset, as it is unreliable for several reasons.
Since we are moving to Linq (first, Linq to SQL, and then to the Entity Framework), I wonder if the equivalent of Linq is equivalent?
Eg
var MyResult = from t in DataContext.MyEntity
where t.Country == 7
select t;
Should we choose an anonymous type only with the fields that we want to explicitly mention, or now all will choose everything that is available for LinqToSql and others, because of the additional material surrounding the data that they provide?
Hello
Mu
source
share