How Can You Tell the Difference Between LINQ Methods and Query Builder Methods?

LINQ's method syntax looks very similar to the query builder methods,except for one big difference:the parameters.Theparameters of a LINQ method ara lambda expressions,whereas the parameters of the query builder methods are Entity SQL string expressions.A number of methods have the same name:Where , OrderBy, Select, and others. The compiler uses the parameters to determine which path to go down,in much the same way that the .NET compiler handles overloaded methods anywhere else.

原文地址:https://www.cnblogs.com/ARMdong/p/3520151.html