C# Class MongdioLogic.db.MDB

Afficher le fichier Open project: okku/Mongdio

Méthodes publiques

Méthode Description
CreateCollection ( string dbName, string collectionName ) : void
CreateDatabase ( string dbName ) : bool
CreateIndexes ( string dbName, string collectionNamespace, string pattern ) : Document
DropCollection ( string dbName, string collectionName ) : bool
DropDatabase ( string dbName ) : bool
DropIndex ( string dbName, string collectionName, Document key ) : void
GetCollections ( string dbName ) : List
GetDatabases ( ) : List
GetIndexsByNS ( string dbName, string collectionNamespace ) : List
GetMongo ( ) : Mong

Method Details

CreateCollection() public static méthode

public static CreateCollection ( string dbName, string collectionName ) : void
dbName string
collectionName string
Résultat void

CreateDatabase() public static méthode

public static CreateDatabase ( string dbName ) : bool
dbName string
Résultat bool

CreateIndexes() public static méthode

public static CreateIndexes ( string dbName, string collectionNamespace, string pattern ) : Document
dbName string
collectionNamespace string
pattern string
Résultat MongoDB.Driver.Document

DropCollection() public static méthode

public static DropCollection ( string dbName, string collectionName ) : bool
dbName string
collectionName string
Résultat bool

DropDatabase() public static méthode

public static DropDatabase ( string dbName ) : bool
dbName string
Résultat bool

DropIndex() public static méthode

public static DropIndex ( string dbName, string collectionName, Document key ) : void
dbName string
collectionName string
key MongoDB.Driver.Document
Résultat void

GetCollections() public static méthode

public static GetCollections ( string dbName ) : List
dbName string
Résultat List

GetDatabases() public static méthode

public static GetDatabases ( ) : List
Résultat List

GetIndexsByNS() public static méthode

public static GetIndexsByNS ( string dbName, string collectionNamespace ) : List
dbName string
collectionNamespace string
Résultat List

GetMongo() public static méthode

public static GetMongo ( ) : Mong
Résultat Mong