public bool Open() { if (_connString == null || _connString == "" || _dsname == null || _dsname == "" || _fdb == null) { return(false); } _dsID = _fdb.DatasetID(_dsname); if (_dsID == -1) { return(false); } _sRef = _fdb.SpatialReference(_dsname); _sIndexDef = _fdb.SpatialIndexDef(_dsID); _state = DatasetState.opened; return(true); }