Exemplo n.º 1
0
 public CollectionDefinition(FileDbConfiguration config, string name)
 {
     Key    = Guid.NewGuid();
     Config = config;
     Name   = name;
     Root   = new Part <T>().Directory(name);
     Parts  = new List <IPart>();
     Type   = typeof(T);
     //TODO [DB MIGRATION] Setting the file should only happen once, so it shouldn't be a part of the Parts enumerable
 }
Exemplo n.º 2
0
 public FileDb(FileDbConfiguration config)
 {
     Config = config;
 }