/// <inheritdoc/> public void Add(string fileName, string version, string dataOfCreation) { var new_fileInfo = new CSVFileInfo(fileName, version, dataOfCreation); DbController.AddFileInfo(new_fileInfo); base.Add(new_fileInfo); }
/// <inheritdoc/> public new void Load(string path) { int old_size = base.GetListSize; base.Load(path); int new_size = base.GetListSize; // Update database for (int i = old_size; i < new_size; i++) { DbController.AddFileInfo((CSVFileInfo)base.GetAtIndexDataElem(i)); } }