public void DeleteField(string name) { var field = Table.Schema.Fields.Find(x => x.Name == name); var index = Table.Schema.Fields.IndexOf(field) + 1; Table.Schema.Fields.Remove(field); _fileWorker.UpdateDataBaseFile(); _fileWorker.DeleteField(Table, index); }