SequoiaDB
 All Classes Namespaces Files Functions Variables Enumerations Properties Pages
Public Member Functions | Properties | List of all members
SequoiaDB.Bson.BsonTypeMapperOptions Class Reference

Represents options used by the BsonTypeMapper. More...

Public Member Functions

 BsonTypeMapperOptions ()
 Initializes a new instance of the BsonTypeMapperOptions class.
 
BsonTypeMapperOptions Clone ()
 Clones the BsonTypeMapperOptions.
 
BsonTypeMapperOptions Freeze ()
 Freezes the BsonTypeMapperOptions.
 

Properties

static BsonTypeMapperOptions Defaults [get, set]
 Gets or sets the default BsonTypeMapperOptions.
 
DuplicateNameHandling DuplicateNameHandling [get, set]
 Gets or sets how duplicate names should be handled.
 
bool IsFrozen [get]
 Gets whether the BsonTypeMapperOptions is frozen.
 
Type MapBsonArrayTo [get, set]
 Gets or sets the type that a BsonArray should be mapped to.
 
Type MapBsonDocumentTo [get, set]
 Gets or sets the type that a BsonDocument should be mapped to.
 
bool MapOldBinaryToByteArray [get, set]
 Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is.
 

Detailed Description

Represents options used by the BsonTypeMapper.

Constructor & Destructor Documentation

SequoiaDB.Bson.BsonTypeMapperOptions.BsonTypeMapperOptions ( )
inline

Initializes a new instance of the BsonTypeMapperOptions class.

Member Function Documentation

BsonTypeMapperOptions SequoiaDB.Bson.BsonTypeMapperOptions.Clone ( )
inline

Clones the BsonTypeMapperOptions.

Returns
The cloned BsonTypeMapperOptions.
BsonTypeMapperOptions SequoiaDB.Bson.BsonTypeMapperOptions.Freeze ( )
inline

Freezes the BsonTypeMapperOptions.

Returns
The frozen BsonTypeMapperOptions.

Property Documentation

BsonTypeMapperOptions SequoiaDB.Bson.BsonTypeMapperOptions.Defaults
staticgetset

Gets or sets the default BsonTypeMapperOptions.

DuplicateNameHandling SequoiaDB.Bson.BsonTypeMapperOptions.DuplicateNameHandling
getset

Gets or sets how duplicate names should be handled.

bool SequoiaDB.Bson.BsonTypeMapperOptions.IsFrozen
get

Gets whether the BsonTypeMapperOptions is frozen.

Type SequoiaDB.Bson.BsonTypeMapperOptions.MapBsonArrayTo
getset

Gets or sets the type that a BsonArray should be mapped to.

Type SequoiaDB.Bson.BsonTypeMapperOptions.MapBsonDocumentTo
getset

Gets or sets the type that a BsonDocument should be mapped to.

bool SequoiaDB.Bson.BsonTypeMapperOptions.MapOldBinaryToByteArray
getset

Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is.


The documentation for this class was generated from the following file: