Beispiel #1
0
 /// <summary>
 /// Generates <see cref="PersistRecords"/> and gets <paramref name="persistable"/> to persist data to it
 /// </summary>
 /// <param name="persistable">The <see cref="IPersist"/>-aware instance</param>
 /// <returns>The <see cref="PersistRecords"/></returns>
 public static PersistRecords GetRecordsFromPersistable(IPersist persistable)
 {
     var pr = new PersistRecords();
     persistable.PersistRecords(pr);
     return pr;
 }