我在边用linq时的问题
MenuId varchar(50) null
MenuName varchar(50) null
Price varchar(50) null
insert into MenuInfo values('100','父节点1',50)
insert into MenuInfo values('101','null','100')
insert into MenuInfo values('null','子节点12','100')
insert into MenuInfo values('103','null','100')
insert into MenuInfo values('104','null',100)
insert into MenuInfo values('null','子节点21','104')
menuLists.where(x=>x.MenuId !=null)的时候的查询结果没有
是怎么回事?求解答
------解决方案--------------------
insert into MenuInfo values('104','null',100)
看到了么'null',字符串。。。