C# 클래스 SchoolsNearMe.Models.RavenDbDumper

파일 보기 프로젝트 열기: MrKevHunter/SchoolsNearMe 1 사용 예제들

공개 메소드들

메소드 설명
Export ( string file ) : void
Import ( string file ) : DumperStats
RavenDbDumper ( EmbeddableDocumentStore store ) : System

비공개 메소드들

메소드 설명
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

메소드 상세

Export() 공개 메소드

public Export ( string file ) : void
file string
리턴 void

Import() 공개 메소드

public Import ( string file ) : DumperStats
file string
리턴 DumperStats

RavenDbDumper() 공개 메소드

public RavenDbDumper ( EmbeddableDocumentStore store ) : System
store Raven.Client.Embedded.EmbeddableDocumentStore
리턴 System