public void Delete()
        {
            try
            {
                try
                {
                    if (_type == ShapefileType.Area)
                    {
                        foreach (Area area in Area.GetForShapefile(this))
                        {
                            area.Delete();
                        }
                    }
                }
                catch (Exception) { }

                try { DB.Connection.ExecuteNonQuery("DELETE FROM " + Table + " WHERE " + Columns.Id + "=" + _id); }
                catch (Exception) { }

                try { DB.Connection.ExecuteNonQuery("DROP TABLE " + GeometryTable); }
                catch (Exception) { }
            }
            catch (Exception ex) { Console.Out.WriteLine("Error deleting shapefile:  " + ex.Message); }
        }