protected override DbResult CreateDb(TFChunkDbCreationHelper <TLogFormat, TStreamId> dbCreator) { return(dbCreator .Chunk(Rec.Prepare(0, "bla"), Rec.Prepare(0, "bla"), Rec.Commit(0, "bla")) .Chunk(Rec.Delete(1, "bla"), Rec.Commit(1, "bla")) .CompleteLastChunk() .CreateDb()); }
protected override DbResult CreateDb(TFChunkDbCreationHelper dbCreator) { return(dbCreator.Chunk(Rec.Prepare(0, "test"), Rec.Commit(0, "test"), Rec.Delete(2, "test"), Rec.Commit(2, "test")) .CreateDb()); }
protected override DbResult CreateDb(TFChunkDbCreationHelper dbCreator) { return(dbCreator.Chunk(Rec.Prepare(0, "test"), Rec.Commit(0, "test"), Rec.Prepare(1, "$$test", metadata: new StreamMetadata(2, null, null, null)), Rec.Commit(1, "$$test"), Rec.Delete(2, "test"), Rec.Commit(2, "test")) .CreateDb()); }
protected override DbResult CreateDb(TFChunkDbCreationHelper dbCreator) { return(dbCreator .Chunk(Rec.TransSt(0, "bla"), Rec.Prepare(0, "bla"), Rec.Prepare(0, "bla"), Rec.Prepare(0, "bla"), Rec.Prepare(0, "bla"), Rec.TransEnd(0, "bla"), Rec.Commit(0, "bla"), Rec.Delete(1, "bla"), Rec.Commit(1, "bla")) .CompleteLastChunk() .CreateDb()); }