Say I have a business. If I want to turn an object whose class is Business into a BsonDocument, I would do
aBusiness.ToBsonDocument
Great.
What about if I want to turn a BsonDocument into aBusiness class? Is there an easy way?
Public Shared Function ToBsonDocument(Of TNominalType)(ByVal obj As TNominalType) As MongoDB.Bson.BsonDocument Member of MongoDB.Bson.BsonExtensionMethods