Compartilhar via


Best Practices for Classes

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

Use the following guidelines when you construct classes:

Objects in the class should be stable, and they should be easy and predictable to use and construct.

When you design your class, it should fall into one of the following concepts:

  • A class that represents an object

  • An action class

  • A supporting class

See also

Classes in X++

Best Practices for Methods

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