What's the difference ? Are both used to perform functions in sql side before get data and store them in memory ?

P.S:
Both used in linq to entites.

Edit
Report