MongoRepository(T) Constructor

MongoRepository

MongoRepositoryT Constructor
Initializes a new instance of the MongoRepository class. Uses the Default App/Web.Config connectionstrings to fetch the connectionString and Database name.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
public MongoRepository()
Public Sub New
public:
MongoRepository()
new : unit -> MongoRepository
Remarks
Default constructor defaults to "MongoServerSettings" key for connectionstring.
See Also