Class MongoCollectionSettings
- Namespace
- MongoDB.Driver
- Assembly
- MongoDB.Driver.dll
public class MongoCollectionSettings
- Inheritance
-
MongoCollectionSettings
- Inherited Members
-
Constructors
MongoCollectionSettings()
public MongoCollectionSettings()
Properties
AssignIdOnInsert
public bool AssignIdOnInsert { get; set; }
Property Value
- bool
GuidRepresentation
public GuidRepresentation GuidRepresentation { get; set; }
Property Value
- GuidRepresentation
IsFrozen
public bool IsFrozen { get; }
Property Value
- bool
ReadConcern
public ReadConcern ReadConcern { get; set; }
Property Value
- ReadConcern
ReadEncoding
public UTF8Encoding ReadEncoding { get; set; }
Property Value
- UTF8Encoding
ReadPreference
public ReadPreference ReadPreference { get; set; }
Property Value
- ReadPreference
SerializerRegistry
public IBsonSerializerRegistry SerializerRegistry { get; }
Property Value
- IBsonSerializerRegistry
WriteConcern
public WriteConcern WriteConcern { get; set; }
Property Value
- WriteConcern
WriteEncoding
public UTF8Encoding WriteEncoding { get; set; }
Property Value
- UTF8Encoding
Methods
Clone()
public virtual MongoCollectionSettings Clone()
Returns
- MongoCollectionSettings
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
- bool
Freeze()
public MongoCollectionSettings Freeze()
Returns
- MongoCollectionSettings
FrozenCopy()
public MongoCollectionSettings FrozenCopy()
Returns
- MongoCollectionSettings
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string