Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mapper.BeforeMapProperty += (mi, propertyPath, map) =>
- {
- if (propertyPath.PreviousPath != null
- && mi.IsComponent(propertyPath.LocalMember.DeclaringType))
- map.Column(propertyPath.ToColumnName());
- };
Add Comment
Please, Sign In to add comment