C# Class SchoolsNearMe.Models.RavenDbDumper

Afficher le fichier Open project: MrKevHunter/SchoolsNearMe Class Usage Examples

Méthodes publiques

Méthode Description
Export ( string file ) : void
Import ( string file ) : DumperStats
RavenDbDumper ( EmbeddableDocumentStore store ) : System

Private Methods

Méthode Description
FlushBatch ( List batch ) : void
GetAttachments ( int start ) : RavenJArray
Read ( Raven.Imports.Newtonsoft.Json.JsonReader jsonReader, string arrayName, Action process ) : void
StreamToBytes ( Stream input ) : byte[]

http://stackoverflow.com/a/221941/2608

WriteItemsFromDb ( Raven.Imports.Newtonsoft.Json.JsonWriter jsonWriter, string name, RavenJArray>.Func getBatchOfItems ) : void

Method Details

Export() public méthode

public Export ( string file ) : void
file string
Résultat void

Import() public méthode

public Import ( string file ) : DumperStats
file string
Résultat DumperStats

RavenDbDumper() public méthode

public RavenDbDumper ( EmbeddableDocumentStore store ) : System
store Raven.Client.Embedded.EmbeddableDocumentStore
Résultat System