摘要:
可以对ef使用lamda表达式动态添加参数查询: 案例如下: Func<Std_InspectionContentTableSchema, WhereClip> whereExp = p => { var whereClip = WhereClip.All; if (DangerLevel != n 阅读全文
摘要:
最近在项目中需要做一些复杂的图表统计,所以使用了存储过程和游标,案例如下: ALTER PROCEDURE [dbo].[proc_CountSiteGroupByAreaSiteType] -- Add the parameters for the stored procedure hereASB 阅读全文