Example #1
0
        internal RowX(TableX owner, bool autoExpand = false)
        {
            Owner = owner;
            if (autoExpand)
            {
                AutoExpandRight = true;
            }

            owner.Add(this);
        }
Example #2
0
        internal void CreateRowAssigTestValues(TableX tx)
        {
            var rx = new RowX(tx);

            if (Get <Relation_Store_ColumnX>().TryGetChildren(tx, out IList <ColumnX> colums))
            {
                foreach (var col in colums)
                {
                    col.Value.SetValue(rx, AllValTypeValueStrings[(int)col.Value.ValType]);
                }
            }
        }
Example #3
0
        internal void CreateAllValTypeColumns(TableX tx)
        {
            var prop                   = Get <Property_ColumnX_ValueType>();
            var storeOf_ColumnX        = Get <ColumnXRoot>();
            var relation_Store_ColumnX = Get <Relation_Store_ColumnX>();

            for (int i = 0; i < (int)ValType.MaximumType; i++)
            {
                var cx = new ColumnX(storeOf_ColumnX);
                relation_Store_ColumnX.SetLink(tx, cx);
                prop.SetItemPropertyValue(cx, i);
            }
        }
Example #4
0
        internal void CreateTestTables()
        {
            var storeOf_TableX = Get <TableXRoot>();

            for (int i = 0; i < NR; i++)
            {
                var tx = new TableX(storeOf_TableX);
                tx.SetCapacity(NR);

                CreateAllValTypeColumns(tx);
                for (int j = 0; j < NR; j++)
                {
                    CreateRowAssigTestValues(tx);
                }
            }
        }
Example #5
0
 {//============================================== In the MetaDataRoot hierarchy  ==============
     internal ComputeListModel_666(TableModel_654 owner, TableX item) : base(owner, item)
     {
     }
Example #6
0
 {//============================================== In the MetaDataRoot hierarchy  ==============
     internal SummaryPropertyRelationModel_674(TableModel_654 owner, TableX item) : base(owner, item)
     {
     }
Example #7
0
 {//============================================== In the MetaDataRoot hierarchy  ==============
     internal TableModel_654(TableListModel_643 owner, TableX item) : base(owner, item)
     {
     }
Example #8
0
 {//============================================== In the MetaDataRoot hierarchy  ==============
     internal ChildRelationListModel_662(TableModel_654 owner, TableX item) : base(owner, item)
     {
     }
Example #9
0
 {//============================================== In the MetaDataRoot hierarchy  ==============
     internal NamePropertyRelationModel_673(TableModel_654 owner, TableX item) : base(owner, item)
     {
     }
Example #10
0
 {//============================================== In the MetaDataRoot hierarchy  ==============
     internal ParentRelatationListModel_663(TableModel_654 owner, TableX item) : base(owner, item)
     {
     }