Class MongoCollectionSettings
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
The settings used to access a collection.
public class MongoCollectionSettings
Inheritance
MongoCollectionSettings
Inherited Members
Constructors
Initializes a new instance of the MongoCollectionSettings class.
Properties
Gets or sets a value indicating whether the driver should assign Id values when missing.
Gets a value indicating whether the settings have been frozen to prevent further changes.
Gets or sets the read concern.
Gets or sets the Read Encoding.
Gets or sets the read preference to use.
Gets the serializer registry.
Gets or sets the WriteConcern to use.
Gets or sets the Write Encoding.
Methods
Creates a clone of the settings.
Compares two MongoCollectionSettings instances.
Freezes the settings.
Returns a frozen copy of the settings.
Gets the hash code.
Returns a string representation of the settings.