Class MongoCollectionSettings
The settings used to access a collection.
- Inheritance
-
Mongo
Collection Settings
- Inherited Members
Constructors
- Mongo
Collection Settings() Initializes a new instance of the MongoCollectionSettings class.
Properties
- Assign
IdOn Insert Gets or sets a value indicating whether the driver should assign Id values when missing.
- Guid
Representation Gets or sets the representation used for Guids.
- Is
Frozen Gets a value indicating whether the settings have been frozen to prevent further changes.
- Read
Concern Gets or sets the read concern.
- Read
Encoding Gets or sets the Read Encoding.
- Read
Preference Gets or sets the read preference to use.
- Serializer
Registry Gets the serializer registry.
- Write
Concern Gets or sets the WriteConcern to use.
- Write
Encoding Gets or sets the Write Encoding.
Methods
- Clone()
Creates a clone of the settings.
- Equals(object)
Compares two MongoCollectionSettings instances.
- Freeze()
Freezes the settings.
- Frozen
Copy() Returns a frozen copy of the settings.
- Get
Hash Code() Gets the hash code.
- To
String() Returns a string representation of the settings.