Fluent and Query Expression — Is there any benefit(s) of one over other?

后端 未结 13 1684
一向
一向 2020-11-22 05:15

LINQ is one of the greatest improvements to .NET since generics and it saves me tons of time, and lines of code. However, the fluent syntax seems to come much more natural

13条回答
  •  闹比i
    闹比i (楼主)
    2020-11-22 05:48

    The fluent interface if there's just a where. If I need a select or orderby, I generally use the Query syntax.

提交回复
热议问题