Skip to content

Instantly share code, notes, and snippets.

@pawelgradecki
Created June 13, 2017 13:05
Show Gist options
  • Save pawelgradecki/cb608d4e6dda10a71e1ed17a5179a1a7 to your computer and use it in GitHub Desktop.
Save pawelgradecki/cb608d4e6dda10a71e1ed17a5179a1a7 to your computer and use it in GitHub Desktop.
[EntityLogicalName("account")]
public class MyAccount : MyEntity
{
public MyAccount() : base("account") { }
[AttributeLogicalName("odx_clientcode")]
public string ClientCode
{
get => GetAttribute<string>();
set => SetAttribute(value);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment