C# Class MongoDB.Driver.CollectionMetaData

Lazily loaded meta data on the collection.
Afficher le fichier Open project: sdether/mongodb-csharp Class Usage Examples

Méthodes publiques

Méthode Description
CollectionMetaData ( string dbName, string name, Connection conn ) : System
CreateIndex ( Document fieldsAndDirections, bool unique ) : void
CreateIndex ( string name, Document fieldsAndDirections, bool unique ) : void
DropIndex ( string name ) : void
refresh ( ) : void

Méthodes protégées

Méthode Description
generateIndexName ( Document fieldsAndDirections, bool unique ) : string

Method Details

CollectionMetaData() public méthode

public CollectionMetaData ( string dbName, string name, Connection conn ) : System
dbName string
name string
conn Connection
Résultat System

CreateIndex() public méthode

public CreateIndex ( Document fieldsAndDirections, bool unique ) : void
fieldsAndDirections Document
unique bool
Résultat void

CreateIndex() public méthode

public CreateIndex ( string name, Document fieldsAndDirections, bool unique ) : void
name string
fieldsAndDirections Document
unique bool
Résultat void

DropIndex() public méthode

public DropIndex ( string name ) : void
name string
Résultat void

generateIndexName() protected méthode

protected generateIndexName ( Document fieldsAndDirections, bool unique ) : string
fieldsAndDirections Document
unique bool
Résultat string

refresh() public méthode

public refresh ( ) : void
Résultat void