2025-03-05 23:12:50 +01:00
|
|
|
|
namespace ProgrammList.sql {
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
2025-03-05 23:12:50 +01:00
|
|
|
|
interface SqlBase {
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
|
|
|
|
|
2025-03-05 23:12:50 +01:00
|
|
|
|
internal bool GetSingleLine(string pcid, string program, string version);
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
2025-03-05 23:12:50 +01:00
|
|
|
|
internal void CheckTableExists();
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
2025-03-05 23:12:50 +01:00
|
|
|
|
internal void InsertData(Dictionary<string, string> valuesqlCommand);
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
2025-03-05 23:12:50 +01:00
|
|
|
|
internal void InsertOrUpdateData(Dictionary<string, string> value);
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
2025-03-05 23:12:50 +01:00
|
|
|
|
internal void DeleteOldData(string hostname);
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
2025-03-05 23:12:50 +01:00
|
|
|
|
internal void UpdateData(Dictionary<string, string> value);
|
2025-03-03 22:16:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2025-03-05 23:12:50 +01:00
|
|
|
|
|
2025-03-03 22:16:47 +01:00
|
|
|
|
}
|