public CremaDataRow(CremaDataRowBuilder builder) { if (builder == null) { throw new ArgumentNullException(); } this.row = builder.DataRow; }
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(); }
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(); }
protected virtual CremaDataRow NewRowFromBuilder(CremaDataRowBuilder builder) { return(new CremaDataRow(builder)); }
internal CremaDataRow InvokeNewRowFromBuilder(CremaDataRowBuilder builder) { return(this.NewRowFromBuilder(builder)); }
public InternalDataRow(CremaDataRowBuilder builder, InternalDataTable table) : base(table, builder.InternalBuilder) { this.table = table; base.Target = builder.NewRow(this); }