MongoDB, C# and DateTimeOffset
The MongoDB driver for C#/.NET can currently be serialized/deserialized in three different ways - as an array, object or string. You can control the BSON representation of your property by adding the [BsonRepresentation] attribute or set it on your class map. [BsonRepresentation(BsonType.String)] public DateTimeOffset EventStart { get;…