public void Delete() { if (this.Images != null) { for (int x = 0; x < this.Images.Count; x++) { this.Images[x].Delete(false); } } db.ExecuteCommand("delete from glyphs where glyph_id = " + this.ID); }