Skip to content

Instantly share code, notes, and snippets.

@jagregory
Created September 10, 2010 10:41
Show Gist options
  • Save jagregory/573430 to your computer and use it in GitHub Desktop.
Save jagregory/573430 to your computer and use it in GitHub Desktop.
public class MyAutomappingConfiguration : DefaultAutomappingConfiguration
{
public override bool ShouldMap(Member member)
{
return base.ShouldMap(member) && member.CanWrite;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment