private void LoadDatabase(string fileName) { try { this._axfTableInfos = new List <AXF_TableInfo>(); _sqlCeDb = new SqlCeDb(); if (this._sqlCeDb.Open(fileName)) { SqlCeResultSet set = new SqlCeResultSet("GEOMETRY_COLUMNS", this._sqlCeDb); List <GeometryColumn> list = set.GetGeometryColumns(); foreach (GeometryColumn geometryColumn in list) { this._axfTableInfos.Add(new AXF_TableInfo(this._sqlCeDb, geometryColumn.TableName, geometryColumn.GeometryType)); } } Close(); } catch (Exception exception) { Console.WriteLine(exception); } }