Beispiel #1
0
 public CremaDataRow(CremaDataRowBuilder builder)
 {
     if (builder == null)
     {
         throw new ArgumentNullException();
     }
     this.InternalObject = builder.DataRow;
 }
Beispiel #2
0
        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();
        }
Beispiel #3
0
        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();
        }
Beispiel #4
0
 public InternalDataRow(CremaDataRowBuilder builder, InternalDataTable table)
     : base(table, builder.InternalBuilder)
 {
     this.table  = table;
     base.Target = builder.NewRow(this);
 }