如何引用实体?我知道,在这条线Linq查询引用实体
if(!db.users.any(u => u.customer =="mike")
(db.users)是指用户表..所以现在我需要在的.cs
public IQueryable<Address_List_NEW> GetAddress_List_NEWs(string Customer)
{
return this.DataContext.Address_List_NEWs;
}
引用一个IQueryable为什么这不是工作? ?
if(!Address_List_NEW.any(u => u.Customer == "mike")