Constructor CollectionNamespace

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

CollectionNamespace(string, string)

public CollectionNamespace(string databaseName, string collectionName)

Parameters

databaseName string

The name of the database.

collectionName string

The name of the collection.

CollectionNamespace(DatabaseNamespace, string)

public CollectionNamespace(DatabaseNamespace databaseNamespace, string collectionName)

Parameters

databaseNamespace DatabaseNamespace

The database namespace.

collectionName string

The name of the collection.