Источник:
http://axstart.spaces.live.com/Blog/...C0A0!178.entry
==============
download AXbanchmark
Even with AX doNet integration our Ax CLR acts like a black box. You have a basic set of options, with can be used.
It would be better if you could programme type save against the AOT.
Perhaps I have found something that can do the trick for you. If we take a close look at the AXBeanchmark project. We see a CLR with the name AxaptaObjectModel. If we add this in our C# project.
We have an ability to look strait into the AOT.
We select the Dynamics AX Object Wrapper, we fill in the needed parameters, and we can look into the AOT.

In my example I select the custTable. Next it will create a .cs file for every used object in the custtable. Every method has a same method in C# So an update method on the custTable will end op like this:
X++:
public override void RecMethUpdate()
{
try
{
_axaptaRecordAdapter.Update();
}
catch (AxaptaObjectModelException ex)
{
throw new AxaptaObjectModelException("Error... ", ex);
}
}
The AXBanchmark tool is original posted at partner source.
download AXbanchmark
Источник:
http://axstart.spaces.live.com/Blog/...C0A0!178.entry