C# 클래스 MongoUtility.Core.ConnectionInfo

파일 보기 프로젝트 열기: magicdict/MongoCola

공개 메소드들

메소드 설명
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

获得视图定义列表

메소드 상세

GetColIndexInfo() 공개 정적인 메소드

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

GetCollectionCnt() 공개 정적인 메소드

public static GetCollectionCnt ( IMongoCollection col ) : long
col IMongoCollection
리턴 long

GetCollectionInfo() 공개 정적인 메소드

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

GetCollectionInfoList() 공개 정적인 메소드

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

GetDatabaseInfoList() 공개 정적인 메소드

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

GetICollection() 공개 정적인 메소드

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

GetViewInfoList() 공개 정적인 메소드

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