private BackupLocationInfo RowToLocation(DataRow locationRow)
        {
            BackupLocationInfo thisLocation = new BackupLocationInfo();

            thisLocation.LocationEntryID      = (int)locationRow["LocationEntryID"];
            thisLocation.SourceLabel          = locationRow["SourceLabel"].ToString();
            thisLocation.EncryptionCheckValue = locationRow["EncryptionCheckValue"].ToString();
            thisLocation.BackupPath           = locationRow["BackupPath"].ToString();
            return(thisLocation);
        }
Пример #2
0
 private BackupLocationInfo RowToLocation(DataRow locationRow)
 {
     BackupLocationInfo thisLocation = new BackupLocationInfo();
     thisLocation.LocationEntryID = (int)locationRow["LocationEntryID"];
     thisLocation.SourceLabel = locationRow["SourceLabel"].ToString();
     thisLocation.EncryptionCheckValue = locationRow["EncryptionCheckValue"].ToString();
     thisLocation.BackupPath = locationRow["BackupPath"].ToString();
     return thisLocation;
 }