C# Proxy Source Code for X++ Tables [AX 2012]

Updated: April 5, 2011

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

This topic describes details about the C# source code that is produced by the proxy generator in Microsoft Dynamics AX. For information about how to run the proxy generator within Microsoft Visual Studio, see Integration with X++ Objects from Visual Studio.


The proxy generator can produce source code in C# or Visual Basic.

The following table provides information about the C# source code that is output by the proxy generator.



///<summary> documentation.

The proxy generator uses the DeveloperDocumentation property value of the table to add ///<summary> documentation into the source code of the C# proxy.

Fields are public properties.

Most table fields become public properties that you use to get or set the value. System fields are read-only properties that have values that you can get but cannot set.

SYS versus USR layers.

Proxy classes are built to match the changes to the target AOT element in all layers, regardless of which layer you are logged into with Microsoft Visual Studio.

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.

Community Additions