(1)可以用where

var a=db.表名.where(s=>s.列名==null);

(2)不为空

var b=db.xx.where(s=>s.yy!=null);

 


本文转载:CSDN博客