Created
August 16, 2022 11:06
-
-
Save braz/8d0042763b8af974384aebdb20d11f04 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MongoDB.Bson; | |
using MongoDB.Bson.Serialization.Attributes; | |
using MongoDB.Driver; | |
BsonSerializer.RegisterSerializer(new DecimalSerializer(BsonType.Decimal128)); | |
var settings = MongoClientSettings.FromConnectionString(""); | |
var client = new MongoClient(settings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment