C# Class MongoDB.Mongo

Inheritance: System.Dynamic.DynamicObject, IDisposable
Show file Open project: dannycoates/mongo-clr4-driver Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetDB ( string name ) : Database
GetDatabaseNames ( ) : IEnumerable
Mongo ( ) : System
Mongo ( string host, int port ) : System
ServerBuildInfo ( ) : Doc
ServerVersion ( ) : string
ShutdownServer ( ) : void
TryGetMember ( GetMemberBinder binder, object &result ) : bool

Private Methods

Method Description
AdminCommand ( string cmd ) : Doc
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetDB() public method

public GetDB ( string name ) : Database
name string
return Database

GetDatabaseNames() public method

public GetDatabaseNames ( ) : IEnumerable
return IEnumerable

Mongo() public method

public Mongo ( ) : System
return System

Mongo() public method

public Mongo ( string host, int port ) : System
host string
port int
return System

ServerBuildInfo() public method

public ServerBuildInfo ( ) : Doc
return Doc

ServerVersion() public method

public ServerVersion ( ) : string
return string

ShutdownServer() public method

public ShutdownServer ( ) : void
return void

TryGetMember() public method

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
return bool