Operator implicit operator
implicit operator BsonObjectId(ObjectId)
Converts an ObjectId to a BsonObjectId.
Parameters
value
ObjectId An ObjectId.
Returns
- Bson
Object Id A BsonObjectId.
Converts an ObjectId to a BsonObjectId.
value
ObjectAn ObjectId.
A BsonObjectId.