public CremaDataRow(CremaDataRowBuilder builder) { if (builder == null) { throw new ArgumentNullException(); } this.InternalObject = builder.DataRow; }
internal CremaDataTable(InternalDataTable table) { this.InternalObject = table; this.builder = new CremaDataRowBuilder(this); this.Columns = new CremaDataColumnCollection(this.InternalObject); this.Attributes = new CremaAttributeCollection(this.InternalObject); this.Rows = new CremaDataRowCollection(this.InternalObject); this.Childs = new CremaChildTableCollection(this.InternalObject); this.AttachEventHandlers(); }
public CremaDataTable(string name, string categoryPath) { this.builder = new CremaDataRowBuilder(this); this.InternalObject = new InternalDataTable(this, name, categoryPath); this.Columns = new CremaDataColumnCollection(this.InternalObject); this.Attributes = new CremaAttributeCollection(this.InternalObject); this.Rows = new CremaDataRowCollection(this.InternalObject); this.Childs = new CremaChildTableCollection(this.InternalObject); this.AttachEventHandlers(); }
public InternalDataRow(CremaDataRowBuilder builder, InternalDataTable table) : base(table, builder.InternalBuilder) { this.table = table; base.Target = builder.NewRow(this); }