SQL server查询之(The data types text and nvarchar are incompatible in the equal to operator.)
遇到BUG 今天工作中遇到一个高级搜索的功能报错. 查找BUG 其它单据用的好好的,怎么就偏偏这个报错了呢,一看错误日志The data types text and nvarchar are incompatible in the equal to oper...
C#使用LINQ查询List筛选数据时参数为null的解决办法
有时候大家会用到linq来查询数据,筛选自己想要的数据,比如一组List里面有一个数值你不想加入复制到某一个对象。这时候你可以用 object.Where(p => p.attribute!= attribute/parameter).ToL...
Async背后的线程切换
如果执行一段很长的写入,程序开始运行时程序的线程ID比如是1进程结束后可能线程ID不是1而是其它的 相关推荐: this扩展方法this扩展方法必须写在静态类,加上static修饰符 如下增加this关键字...