AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 08.08.2015, 17:23   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Prabhats: DAX 2009: Temporary Tables in Enterprise Portal
Источник: http://oofgeek.com/archive/2009/07/1...se-portal.aspx
==============

Originally posted on: http://oofgeek.com/archive/2009/07/1...se-portal.aspx

http://msdn.microsoft.com/en-us/libr...49(AX.10).aspx

Temporary Tables vs. Containers Microsoft Dynamics AX supports a special data type called a container. This data type can be used just as you would use a temporary table. For more information, see Containers.

Data in containers are stored and retrieved sequentially, but a temporary table enables you to define indexes to speed up data retrieval. Containers provide slower data access if you are working with many records. However, if you are working with only a few records, use a container.

Another important difference between temporary tables and containers is how they are used in method calls. When you pass a temporary table into a method call, it is passed by reference. Containers are passed by value. When a variable is passed by reference, only a pointer to the object is passed into the method. When a variable is passed by value, a new copy of the variable is passed into the method. If the computer has a limited amount of memory, it might start swapping memory to disk, slowing down application execution. When you pass a variable into a method, a temporary table may provide better performance than a container.


 



1.1       Temporary Tables and context

Using temporary tables as the primary data source in EP page posse a number of technical limitations. The most significant being the lack of context.

1.1.1       Problem Description

Context is not maintained on temporary tables hence the web part that contains it cannot be used as a provider to other webparts like the toolbar webpart which is connected to the current context of the provider view. The flow of activities in the process is hindered since additional processing needs to be done to pass the context explicitly to the caller. Temporary tables cannot be used as the source of a lookup control either.



RELATED POST : Setting Session Timeout for Dynamcis AX EP

http://www.odetocode.com/Articles/450.aspx

http://geekswithblogs.net/vivek/arch.../04/93094.aspx

http://msdn.microsoft.com/en-us/library/ee330228.aspx

http://msdn.microsoft.com/en-us/library/ee330227.aspx




Источник: http://oofgeek.com/archive/2009/07/1...se-portal.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Prabhats: DAX 2009: Temporary Tables in Enterprise Portal Blog bot DAX Blogs 0 26.07.2015 07:40
Prabhats: DAX 2009: SoapServerException when installing Role Center & Enterprise Portal in Dynamics AX 2009 Blog bot DAX Blogs 0 12.07.2015 16:17
Prabhats: DAX 2009: Temporary Tables in Enterprise Portal Blog bot DAX Blogs 0 12.07.2015 16:17
Prabhats: DAX 2009: Temporary Tables in Enterprise Portal Blog bot DAX Blogs 0 04.07.2015 00:30
Prabhats: DAX 2009: Temporary Tables in Enterprise Portal Blog bot DAX Blogs 0 27.04.2011 11:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 02:13.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.