25.09.2018, 18:01 | #8 |
Молодой, подающий надежды
|
Цитата:
X++: SysDictTable::getConcreteTable(record); X++: /// <summary> /// Gets the ID for the concrete table for a specified table. /// </summary> /// <param name="_common"> /// The buffer of the given table whose concrete table must be found. /// </param> /// <returns> /// The table ID of the concrete table for the specified table. /// </returns> public static TableId getConcreteTable(Common _common) { DictTable dt=new DictTable(_common.TableId); TableId concrete=_common.TableId; str tablename; //Get concrete table for inheritance if(dt && dt.supportInheritance()) { tablename= _common.getInstanceRelationType(); if(tablename) { concrete=tableName2id(tablename); } } return concrete; }
__________________
Кононов Пётр Последний раз редактировалось pedrozzz; 25.09.2018 в 18:12. |
|
|
За это сообщение автора поблагодарили: sukhanchik (4), Logger (1), gl00mie (3). |