Skip to content

Instantly share code, notes, and snippets.

@pawelgradecki
Created April 14, 2017 12:59
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 pawelgradecki/422b8c634382e96d0f81e6e3d4fe2cf1 to your computer and use it in GitHub Desktop.
Save pawelgradecki/422b8c634382e96d0f81e6e3d4fe2cf1 to your computer and use it in GitHub Desktop.
interface helpers
interface IEntityWithTotalSum
{
decimal new_totalsum { get; set; }
decimal new_netamount { get; set; }
decimal new_margin { get; set; }
}
public partial class Account : IEntityWithTotalSum {}
public partial class Opportunity : IEntityWithTotalSum {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment