Files
DP44/Common/DTS.CommonCore/Interface/SystemSettings/DB/IDBViewModel.cs
2026-04-17 14:55:32 -04:00

35 lines
1.2 KiB
C#

using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IDBViewModel : IBaseViewModel
{
IDBImportView ImportView { get; set; }
IDBExportView ExportView { get; set; }
/// <summary>
/// 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
/// </summary>
string ImportFileName { get; set; }
string ImportStatusText { get; set; }
/// <summary>
/// file name to export to
/// same caveat as above
/// </summary>
string ExportFileName { get; set; }
/// <summary>
/// for now this is formatted xml string to write to the file
/// </summary>
string ExportData { get; set; }
/// <summary>
/// for now this is the formatted xml string read from the file
/// </summary>
string ImportData { get; set; }
/// <summary>
/// Exports ExportData to ExportFileName
/// </summary>
void Export();
}
}