Unable to create a constant value of type 'System.Object' in Entity Framework

后端 未结 4 471
旧巷少年郎
旧巷少年郎 2020-12-11 14:45

I have a table named UserTenders having many-to-one relationship with aspnet_Membership table.
I am using EntityFramework 4.0 and when I try so

4条回答
  •  情书的邮戳
    2020-12-11 15:06

    Just wanted to point out, you could have also used tender.HasAdminApproved.HasValue.Equals(true))... this works when bool allows nulls

提交回复
热议问题