Example #1
0
        protected override IDocumentStore <string, MySerializableData> BuildDocumentStore_Class()
        {
            ProtoBufDocumentSerializer serializer = new ProtoBufDocumentSerializer();

            return(new FileDocumentStore <string, MySerializableData>(StorageBaseDir, serializer));
        }
Example #2
0
        protected override IDocumentStore <string, long> BuildDocumentStore_Int()
        {
            ProtoBufDocumentSerializer serializer = new ProtoBufDocumentSerializer();

            return(new FileDocumentStore <string, long>(StorageBaseDir, serializer));
        }