C# Class FubuMVC.RavenDb.DatabaseReplacementExtensions

Mostrar archivo Open project: DarthFubuMVC/FubuPersistence

Public Methods

Method Description
ReplaceDatastore ( this container, RavenDbSettings settings ) : void

Change the default RavenDb datastore to the configured settings

UseInMemoryDatastore ( this container ) : void

Replace the current datastore with a new in memory datastore

Method Details

ReplaceDatastore() public static method

Change the default RavenDb datastore to the configured settings
public static ReplaceDatastore ( this container, RavenDbSettings settings ) : void
container this
settings FubuPersistence.RavenDb.RavenDbSettings
return void

UseInMemoryDatastore() public static method

Replace the current datastore with a new in memory datastore
public static UseInMemoryDatastore ( this container ) : void
container this
return void