示例#1
0
 /// <summary>
 /// Gets the version information.
 /// </summary>
 /// <param name="page">The page.</param>
 /// <param name="versionGuid">The version unique identifier.</param>
 /// <returns></returns>
 /// <exception cref="ItemNotFoundException"></exception>
 public DataPageVersion GetVersionInformation(DataPage page, Guid versionGuid)
 {
     return(DatabaseHelper.GetPageVersion(page, versionGuid));
 }
示例#2
0
 /// <summary>
 /// Gets the versions.
 /// </summary>
 /// <param name="page">The page.</param>
 /// <returns></returns>
 public IEnumerable <DataPageVersion> GetVersions(DataPage page)
 {
     return(DatabaseHelper.GetPageVersions(page));
 }