CSALDatabase.InsureIndexes Method

CSAL Mongo

CSALDatabase InsureIndexes Method CSAL Mongo Access Library
This very hacky function manually insures all indexes that we want in the MongoDB collections that we manage. Should really only be called once in a blue moon. Currently called on app startup by our web api app.

Namespace: CSALMongo
Assembly: CSALMongo (in CSALMongo.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

public void InsureIndexes()
public void InsureIndexes()
Public Sub InsureIndexes
Public Sub InsureIndexes
public:
void InsureIndexes()
public:
void InsureIndexes()
See Also