我在课堂上isDeleted
Nullable
有财产。Profile
Builders<Profile>.Filter.Eq(p => p.IsDeleted, BsonNull.Value)
但是以下代码引发了下一个编译错误:
Error 11 Cannot convert lambda expression to type
'MongoDB.Driver.FieldDefinition<MongoDB.DataTypes.Profile,MongoDB.Bson.BsonNull>'
because it is not a delegate type
如何实施空检查?