What is the difference between SqlFunctions and EntityFunctions?

前端 未结 4 1990
暗喜
暗喜 2020-12-05 14:21

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 ent

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 15:14

    As i read about it. The CLR convert EntityFunctions functions to "canonical functions" which are supported by all data providers.

    But the SqlFunctions make the SQL Server to do the work and they specified just for SQL Server.

    For more information

提交回复
热议问题