using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IDBViewModel : IBaseViewModel
{
IDBImportView ImportView { get; set; }
IDBExportView ExportView { get; set; }
///
/// file name to import from
/// we may not need this in the viewmodel if the viewmodel is capable of doing all the operations it needs to do
/// but for now I leave it here so it can be initialized
///
string ImportFileName { get; set; }
string ImportStatusText { get; set; }
///
/// file name to export to
/// same caveat as above
///
string ExportFileName { get; set; }
///
/// for now this is formatted xml string to write to the file
///
string ExportData { get; set; }
///
/// for now this is the formatted xml string read from the file
///
string ImportData { get; set; }
///
/// Exports ExportData to ExportFileName
///
void Export();
}
}