Exemple #1
0
 public static string GetContentFile(this Schema schema)
 {
     DataPath dataPath = new DataPath(schema.Repository.Name);
     return Path.Combine(dataPath.PhysicalPath, schema.Name + ".xml");
 }
Exemple #2
0
 public static string GetCategoryDataFile(this Repository repository)
 {
     DataPath dataPath = new DataPath(repository.Name);
     return Path.Combine(dataPath.PhysicalPath, "_category_" + ".xml");
 }