Class Extension recap in Microsoft Dynamics 365 Finance and Operations apps

There is no extension of class through designer and no class.extension element. Even if you refer to the package and see the new method does not mean the new method is an extension method hence for this reason the new "extension methods" needs to be used.

Add a new class to DevBasics project (or any that references the application suite model)

Enter the following code for table extension method: (ensure your package reference appcommon and directory package)

static class MyDirName_Extension   (always ensure class name is same as VS solution element name otherwise you get errors that VS unable to parse)

Note*

ExtensionClass, update3 onwards

Notice the signature:"[ExtensionOf(tablestr(DirPersonName))]"