C# Class MongoUtility.Core.ConnectionInfo

Afficher le fichier Open project: magicdict/MongoCola

Méthodes publiques

Méthode Description
GetColIndexInfo ( MongoClient client, string dbName, string collectionName ) : List

获得索引列表

GetCollectionCnt ( IMongoCollection col ) : long
GetCollectionInfo ( MongoClient client, string dbName, string collectionName ) : BsonDocument

获得数据集信息

GetCollectionInfoList ( MongoClient client, string dbName ) : List

获得数据集列表

GetDatabaseInfoList ( MongoClient client ) : List

获得数据库定义列表

GetICollection ( MongoClient client, string dbName, string collectionName ) : IMongoCollection

获得数据集实例(IMongoCollection)

GetViewInfoList ( MongoClient client, string dbName ) : List

获得视图定义列表

Method Details

GetColIndexInfo() public static méthode

获得索引列表
public static GetColIndexInfo ( MongoClient client, string dbName, string collectionName ) : List
client MongoDB.Driver.MongoClient
dbName string
collectionName string
Résultat List

GetCollectionCnt() public static méthode

public static GetCollectionCnt ( IMongoCollection col ) : long
col IMongoCollection
Résultat long

GetCollectionInfo() public static méthode

获得数据集信息
public static GetCollectionInfo ( MongoClient client, string dbName, string collectionName ) : BsonDocument
client MongoDB.Driver.MongoClient
dbName string
collectionName string
Résultat BsonDocument

GetCollectionInfoList() public static méthode

获得数据集列表
public static GetCollectionInfoList ( MongoClient client, string dbName ) : List
client MongoDB.Driver.MongoClient
dbName string
Résultat List

GetDatabaseInfoList() public static méthode

获得数据库定义列表
public static GetDatabaseInfoList ( MongoClient client ) : List
client MongoDB.Driver.MongoClient
Résultat List

GetICollection() public static méthode

获得数据集实例(IMongoCollection)
public static GetICollection ( MongoClient client, string dbName, string collectionName ) : IMongoCollection
client MongoDB.Driver.MongoClient
dbName string
collectionName string
Résultat IMongoCollection

GetViewInfoList() public static méthode

获得视图定义列表
public static GetViewInfoList ( MongoClient client, string dbName ) : List
client MongoDB.Driver.MongoClient
dbName string
Résultat List