Skip to content

Instantly share code, notes, and snippets.

@noakesey
Created December 6, 2018 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noakesey/17f664a21b5976a3a71828621e1dc753 to your computer and use it in GitHub Desktop.
Save noakesey/17f664a21b5976a3a71828621e1dc753 to your computer and use it in GitHub Desktop.
/// <summary>
/// Form extensions should have an Extension suffix, and should include the name
/// of the extending model as an infix to maintain uniqueness. The extension class
/// must be marked as final as it would make no logical sense to subclass
/// or extend an extension.
/// </summary>
[ExtensionOf(tableStr(HcmWorker))]
public final class HcmWorker_MyNewModel_Extension
{
public display Name someOtherName()
{
return 'someOtherName';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment