Esempio n. 1
0
        internal CremaDataTable(InternalDataTable table)
        {
            this.table      = table;
            this.builder    = new CremaDataRowBuilder(this);
            this.columns    = new CremaDataColumnCollection(this.table);
            this.attributes = new CremaAttributeCollection(this.table);
            this.rows       = new CremaDataRowCollection(this.table);
            this.childs     = new CremaChildTableCollection(this.table);

            this.AttachEventHandlers();
        }
Esempio n. 2
0
        public CremaDataTable(string name, string categoryPath)
        {
            this.builder    = new CremaDataRowBuilder(this);
            this.table      = new InternalDataTable(this, name, categoryPath);
            this.columns    = new CremaDataColumnCollection(this.table);
            this.attributes = new CremaAttributeCollection(this.table);
            this.rows       = new CremaDataRowCollection(this.table);
            this.childs     = new CremaChildTableCollection(this.table);

            this.AttachEventHandlers();
        }