C# Class GDSX.Externals.LinqPad.Driver.ConnectionPropertiesExtensions

Show file Open project: gburgett/LinqPad-mongo-driver

Public Methods

Method Description
TrimDatabaseMappings ( this mongo, Dictionary dbMappings ) : void

Connects to the given Mongo server and trims the list of databases and collections based on what collections actually exist currently in the DB.

Method Details

TrimDatabaseMappings() public static method

Connects to the given Mongo server and trims the list of databases and collections based on what collections actually exist currently in the DB.
public static TrimDatabaseMappings ( this mongo, Dictionary dbMappings ) : void
mongo this The MongoServer instance to connect to.
dbMappings Dictionary The list of existing DB mappings.
return void