MongoRepository(T, TKey) Constructor (MongoUrl, String)

MongoRepository

MongoRepositoryT, TKey Constructor (MongoUrl, 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(
	MongoUrl url,
	string collectionName
)
Public Sub New ( 
	url As MongoUrl,
	collectionName As String
)
public:
MongoRepository(
	MongoUrl^ url, 
	String^ collectionName
)
new : 
        url : MongoUrl * 
        collectionName : string -> MongoRepository

Parameters

url
Type: MongoUrl
Url to use for connecting to MongoDB.
collectionName
Type: SystemString
The name of the collection to use.
See Also