MongoRepository(T) Constructor (String, String)

MongoRepository

MongoRepositoryT Constructor (String, String)
Initializes a new instance of the MongoRepository class.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
public MongoRepository(
	string connectionString,
	string collectionName
)
Public Sub New ( 
	connectionString As String,
	collectionName As String
)
public:
MongoRepository(
	String^ connectionString, 
	String^ collectionName
)
new : 
        connectionString : string * 
        collectionName : string -> MongoRepository

Parameters

connectionString
Type: SystemString
Connectionstring to use for connecting to MongoDB.
collectionName
Type: SystemString
The name of the collection to use.
See Also