예제 #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();
        }
예제 #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();
        }