|
![]() |
#1 |
Участник
|
Цитата:
Сообщение от Vadik
![]() По поводу кластерного индекса по RECID "вообще" - повторюсь: это ОЧЕНЬ большое упрощение полагать что RECID в AX ведет себя подобно IDENTITY - достаточно за пять минут набросать на бумажке как идет вставка в системе с двадцатью компаниями и пятью AOS-ами (спойлер - никакого "монотонного возрастания значений там рядом не стояло)
|
|
![]() |
#2 |
Участник
|
Цитата:
![]() Цитата:
The UnitOfWork class automatically propagates the primary key value to the corresponding foreign key field, when the row with the foreign key field is inserted. The call pattern for inserts is first to add one record at a time to your constructed UnitOfWork object. After all the inserts have been added, you call the saveChanges method to persist the inserts to the database. The pattern is similar for updates and deletes. You can add inserts, updates, and deletes in succession, in any sequence, and then call the saveChanges method.
|
|
|
За это сообщение автора поблагодарили: Logger (3). |
Теги |
ax2012, inventdim, производительность |
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|