Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When reviewing the Aptify Software Development Kit (SDK), a developer may notice that the Aptify.Framework.BusinessLogic.GenericEntity namespace includes an AptifyGenericEntity class and an AptifyGenericEntityBase class. These two classes serve different purposes within the Aptify Framework:

  • AptifyGenericEntityBase defines the interface and base implementation of the Generic Entity (GE) object.
  • AptifyGenericEntity contains the complete implementation of AptifyGenericEntityBase.

When assigning variables and passing them throughout the system, especially as parameters in public or protected methods, use AptifyGenericEntityBase. When creating a new Entity object, the AptifyGenericEntity is used as the super class. In other words, Entity objects should inherit from AptifyGenericEntity, which is the complete implementation of the Generic EntityGE. When you sub-class, you want to start with the complete implementation and go from there.

...