C# Class Kooboo.CMS.Content.Persistence.MongoDB.DatabaseHelper

Show file Open project: Tsingbo-Kooboo/KoobooMvc5

Public Methods

Method Description
CreateCateogryIndex ( this repository ) : void
CreateIndex ( this schema ) : void
DropCollection ( this schema ) : void
DropDatabase ( this repository ) : void
GetCategoriesCollection ( this repository ) : MongoCollection
GetCollection ( this schema ) : MongoCollection
GetDatabase ( this repository ) : MongoDatabase
GetServer ( ) : MongoServer

Method Details

CreateCateogryIndex() public static method

public static CreateCateogryIndex ( this repository ) : void
repository this
return void

CreateIndex() public static method

public static CreateIndex ( this schema ) : void
schema this
return void

DropCollection() public static method

public static DropCollection ( this schema ) : void
schema this
return void

DropDatabase() public static method

public static DropDatabase ( this repository ) : void
repository this
return void

GetCategoriesCollection() public static method

public static GetCategoriesCollection ( this repository ) : MongoCollection
repository this
return MongoCollection

GetCollection() public static method

public static GetCollection ( this schema ) : MongoCollection
schema this
return MongoCollection

GetDatabase() public static method

public static GetDatabase ( this repository ) : MongoDatabase
repository this
return MongoDatabase

GetServer() public static method

public static GetServer ( ) : MongoServer
return MongoServer