Click or drag to resize

BsonMapper Properties

The BsonMapper type exposes the following members.

Properties
 NameDescription
Public propertyEmptyStringToNull Convert EmptyString to Null (default true)
Public propertyEnumAsInteger Get/Set if enum must be converted into Integer value. If false, enum will be converted into String value. MUST BE "true" to support LINQ expressions (default false)
Public propertyIncludeFields Get/Set that mapper must include fields (default: false)
Public propertyIncludeNonPublic Get/Set that mapper must include non public (private, protected and internal) (default: false)
Public propertyMaxDepth Get/Set maximum depth for nested object (default 20)
Public propertyOnDeserialization Gets called before deserialization of a value
Public propertySerializeNullValues Indicate that mapper do not serialize null values (default false)
Public propertyTrimWhitespace Apply .Trim() in strings when serialize (default true)
Top
See Also