Let operator in linqtoentities

/*by Jiangong SUN*/

Here I want to introduce "Let" operator in entity framework.


Let operator can define a variable in your linq query and then use it in your query.

For example : 

Let operator in linqtoentities_第1张图片

activite_code and activite_lib are defined in the query and then are used in it.

This simplify a lot of work in sql query.


Enjoy coding !

你可能感兴趣的:(sql,query,LINQ)