private static DownloadedChapterInfo LoadDownloadInfoFromDataRow(DataRow row, ChapterRecord chapter)
{
return new DownloadedChapterInfo(chapter)
{
Path = row["Path"] as string,
Downloaded = Convert.ToDateTime(row["Downloaded"]),
DownloadFolder = row["DownloadFolder"] as string,
DownloadFormatProviderId = (Guid) row["FormatProviderId"]
};
}