Пример #1
0
 public void CreateObject(string table, string key, DatabaseObject obj)
 {
     File.WriteAllText(Path.Combine(this.StorageLocation, table, key + ".tson"), TsonConvert.SerializeObject(DatabaseObjectExtensions.ToDictionary(obj.Properties), Formatting.Indented));
 }
 public override string ToString()
 {
     return(TsonConvert.SerializeObject(this, Formatting.Indented));
 }