CHAPTER 1 - Introduction to X++
CHAPTER 2 - X++ Control Statements
CHAPTER 3 - Objects and Classes
CHAPTER 4: Accessing the Database
CHAPTER 5: Exception Handling
CHAPTER 6: Security for Developers
Lesson 1 – Introduction and Objectives
Introduction and Objectives to Objects & Classes
The Introduction and Objectives to Objects & Classes explains A class is a software construct that defines the data (state) and methods
(behavior) of the specific concrete objects that are subsequently constructed from that class.
It can be thought of as a blueprint for different instances of an object. It is possible for multiple instances of the object to exist, and for each instance to hold different values in its variables, and therefore to run differently.
The objectives are:
- Use the classes within Microsoft Dynamics® AX 2012 X++ development.
- Control access to methods using Access Control Method Modifiers.
- Extend a class using the concept of inheritance.
- Describe the differences between an object and a class.
- Initialize variables in the appropriate place according to scoping rules.
- Call methods within the same class.
- Use the different method types available.
- Describe the similarities and differences between tables and classes.
- Use the eventing publisher and subscriber model when modifying code in the application.