Skip to content

Duong's Blog

About technology stuff that piqued my interest

  • English
  • Vietnamese
  • About me

Tag: expression-tree

  • Home
  • expression-tree

Expression Tree for IQueryable in LINQ

June 29, 2022June 29, 2022 duongnt.bkLeave a Comment on Expression Tree for IQueryable in LINQ

To avoid hard-coding attribute names in LINQ code of the IQueryable type, we can manually create Expression Tree. This helps eliminate duplicated code.

C#, English C#, expression-tree, linq

Expression Tree cho IQueryable trong LINQ

June 29, 2022June 29, 2022 duongnt.bk1 Comment on Expression Tree cho IQueryable trong LINQ

Ta có thể tự tạo Expression Tree để tránh hard-code tên attribute trong code LINQ của IQueryable. Điều này giúp hạn chế trùng lặp code.

C#, Vietnamese C#, expression-tree, linq
Copyright © 2025 Duong's Blog All rights reserved. Theme: Flash by ThemeGrill. Powered by WordPress