Exemplo n.º 1
0
        /// <inheritdoc />
        public void Edit(int index, IDataRow values)
        {
            int count = 0;

            foreach (IFeature feature in Filter)
            {
                if (count == index)
                {
                    IDataColumnCollection dc = _featureSet.DataTable.Columns;
                    foreach (DataColumn column in dc)
                    {
                        feature.DataRow[column] = values[column.ColumnName];
                        return;
                    }
                }

                count++;
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Updates the Expression-Object with the columns that exist inside the features that belong to this category. They are used for calculating the expression.
 /// </summary>
 /// <param name="columns">Columns that should be updated.</param>
 /// <returns>False if columns were not set.</returns>
 public bool UpdateExpressionColumns(IDataColumnCollection columns)
 {
     return(_exp.UpdateFields(columns));
 }