Пример #1
0
 public static void DeployInternalTypes(SessionBase session, string outputDirectory)
 {
     if (!Directory.Exists(outputDirectory))
     {
         Directory.CreateDirectory(outputDirectory);
     }
     session.DeployGenerateReaderWriter(typeof(Graph), outputDirectory);
     session.DeployGenerateReaderWriter(typeof(PropertyType), outputDirectory);
     session.DeployGenerateReaderWriter(typeof(VertexType), outputDirectory);
     session.DeployGenerateReaderWriter(typeof(EdgeType), outputDirectory);
     //session.DeployGenerateReaderWriter(typeof(BTreeBase<VertexId, VertexId>), outputDirectory);
     //session.DeployGenerateReaderWriter(typeof(BTreeSet<VertexId>), outputDirectory);
 }