public void KeepColumnNamesInSync()
        {
            var table = new FeatureDataTable();
            var row = table.NewRow();
            table.Rows.Add(row);

            var accessor = new FeatureDataRowAttributeAccessor(row);

            // now add column and check if it is available via accessor
            table.Columns.Add("Name", typeof (string));

            accessor.Count
                .Should().Be.EqualTo(1);
        }
 public object Clone()
 {
     var clone = new FeatureDataRowAttributeAccessor(featureDataRow);
     return clone;
 }
Exemple #3
0
        public object Clone()
        {
            var clone = new FeatureDataRowAttributeAccessor(featureDataRow);

            return(clone);
        }