Skip to content

Instantly share code, notes, and snippets.

@andrerpena
Created April 23, 2014 17:28
Show Gist options
  • Save andrerpena/11225135 to your computer and use it in GitHub Desktop.
Save andrerpena/11225135 to your computer and use it in GitHub Desktop.
Example of a change tracking setup
public static void SetupChangeTracking()
{
// disables tracking for matter code
SetupProperty(matter => matter.Code, show: false);
// makes the matter issue date to be tracked as a "short date string"
SetupProperty(matter => matter.IssueDate, display: a => a.IssueDate.ToShortDateString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment