Skip to main content
Version: 0.3.x (0.3.0)

Namespace AdCodicem.ValueObjects.MongoDB

Classes​

ValueObjectBson

Registers the MongoDB.Driver serializers of value objects.

ValueObjectBsonSchema

Builds a $jsonSchema collection validator from the rules of the value objects a document holds, so that the server refuses a document another writer stores with a value the type rejects.

ValueObjectBsonSerializer<TSelf, TValue>

Stores a value object as the bare value the serializer of its underlying type writes, and reads it back through the value object's rules.