public RecordIds(DbBase db, HluDataSet hluDataset, TableAdapterManager hluTableAdapterMgr, ViewModelWindowMain.GeometryTypes gisLayerType) { if (db == null) { throw new ArgumentException("db"); } if (hluDataset == null) { throw new ArgumentException("hluDataset"); } if (hluTableAdapterMgr == null) { throw new ArgumentException("hluTableAdapterMgr"); } _db = db; _hluDataset = hluDataset; _hluTableAdapterMgr = hluTableAdapterMgr; _gisLayerType = gisLayerType; if (_hluDataset.lut_last_incid.IsInitialized && _hluDataset.lut_last_incid.Count == 0) { if (_hluTableAdapterMgr.lut_last_incidTableAdapter == null) { _hluTableAdapterMgr.lut_last_incidTableAdapter = new HluTableAdapter <HluDataSet.lut_last_incidDataTable, HluDataSet.lut_last_incidRow>(_db); } _hluTableAdapterMgr.Fill(_hluDataset, new Type[] { typeof(HluDataSet.lut_last_incidDataTable) }, false); } _incidCurrentNumber = CurrentMaxIncidNumber(false); InitializeIncidChildRecordIds(); }
public ViewModelWindowWarnOnSubsetUpdate(int numFrags, int numToids, int numTotalFrags, int numTotToids, ViewModelWindowMain.GeometryTypes typeFeatures) { _numFrags = numFrags; _numToids = numToids; _numTotalFrags = numTotalFrags; _numTotToids = numTotToids; _gisFeaturesType = typeFeatures; }
public ViewModelWindowWarnOnSubsetUpdate(int numFrags, int numToids, int numTotalFrags, int numTotToids, ViewModelWindowMain.GeometryTypes typeFeatures) { _numFrags = numFrags; _numToids = numToids; _numTotalFrags = numTotalFrags; _numTotToids = numTotToids; _gisFeaturesType = typeFeatures; }
public ViewModelWindowWarnOnGISSelect(int numFeatures, int numIncids, ViewModelWindowMain.GeometryTypes typeFeatures, bool selectByjoin) { // Store the expected number of features to be selected in GIS. _gisFeaturesNum = numFeatures; //--------------------------------------------------------------------- // CHANGED: CR12 (Select by attribute performance) // Store the expected number of incids to be selected in GIS. _gisIncidNum = numIncids; // If the type of feature is not known then just use 'feature'. if (typeFeatures != ViewModelWindowMain.GeometryTypes.Unknown) { _gisFeaturesType = typeFeatures.ToString().ToLower(); } else { _gisFeaturesType = "feature"; } // Store if a GIS table join will be used to perform the selection. _selectByjoin = selectByjoin; //--------------------------------------------------------------------- }
public ViewModelWindowWarnOnGISSelect(int numFeatures, ViewModelWindowMain.GeometryTypes typeFeatures) { _gisFeaturesNum = numFeatures; _gisFeaturesType = typeFeatures; }