基于LINQ的WHERE子句动态字段的一种实现  

An implementation of Where dynamic field in LINQ based on method

在线阅读下载全文

作  者:林永章 王伟 叶露 Lin Yongzhang;Wang Wei;Ye Lu(Offshore Oil Engineering Corp,Tianjin 30035)

机构地区:[1]海洋石油工程股份有限公司,天津300350

出  处:《石化技术》2018年第10期92-92,100,共2页Petrochemical Industry Technology

摘  要:在使用基于方法的LINQ按条件进行查询的数据库操作中,经常遇到按不同字段进行筛选的情况,本文提供了一种根据不同字段动态生成Lambda表达式实现查询的方法。In use of LINQ based on method to query database, it is often encountered by different fields. This article provides a method to dynamically generate Lambda expressions according to different fields for filtering record.

关 键 词:LINQ LAMBDA 动态查询 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象