C# 클래스 MongoDB.Driver.MongoCollectionSettings

The settings used to access a collection.
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ApplyDefaultValues void
MongoCollectionSettings System
MongoCollectionSettings System

공개 메소드들

메소드 설명
Clone ( ) : MongoCollectionSettings

Creates a clone of the settings.

Equals ( object obj ) : bool

Compares two MongoCollectionSettings instances.

Freeze ( ) : MongoCollectionSettings

Freezes the settings.

FrozenCopy ( ) : MongoCollectionSettings

Returns a frozen copy of the settings.

GetHashCode ( ) : int

Gets the hash code.

MongoCollectionSettings ( ) : System

Initializes a new instance of the MongoCollectionSettings class.

ToString ( ) : string

Returns a string representation of the settings.

비공개 메소드들

메소드 설명
ApplyDefaultValues ( MongoDatabaseSettings databaseSettings ) : void
MongoCollectionSettings ( MongoDatabase database, string collectionName, Type defaultDocumentType ) : System
MongoCollectionSettings ( string collectionName, bool assignIdOnInsert, Type defaultDocumentType, GuidRepresentation guidRepresentation, ReadPreference readPreference, WriteConcern writeConcern ) : System

메소드 상세

Clone() 공개 메소드

Creates a clone of the settings.
public Clone ( ) : MongoCollectionSettings
리턴 MongoCollectionSettings

Equals() 공개 메소드

Compares two MongoCollectionSettings instances.
public Equals ( object obj ) : bool
obj object The other instance.
리턴 bool

Freeze() 공개 메소드

Freezes the settings.
public Freeze ( ) : MongoCollectionSettings
리턴 MongoCollectionSettings

FrozenCopy() 공개 메소드

Returns a frozen copy of the settings.
public FrozenCopy ( ) : MongoCollectionSettings
리턴 MongoCollectionSettings

GetHashCode() 공개 메소드

Gets the hash code.
public GetHashCode ( ) : int
리턴 int

MongoCollectionSettings() 공개 메소드

Initializes a new instance of the MongoCollectionSettings class.
public MongoCollectionSettings ( ) : System
리턴 System

ToString() 공개 메소드

Returns a string representation of the settings.
public ToString ( ) : string
리턴 string