示例#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
 }
示例#2
0
文件: FileDb.cs 项目: seurimas/OCTGN
 public FileDb(FileDbConfiguration config)
 {
     Config = config;
 }