public TypedObjectMapper <T> Ignore(Expression <Func <T, object> > expression) { var memberExpression = expression.GetMemberExpressionOrNull(); if (memberExpression == null) { return(this); } IgnoredMembers.Add(memberExpression.Member); return(this); }
public ValueTypeModelBuilderConfiguration <T> IgnoreMember(string memberName) { IgnoredMembers.Add(memberName); return(this); }
public ValueTypeModelBuilderConfiguration <T> IgnoreMember <TMember>(Expression <Func <T, TMember> > memberSelector) { IgnoredMembers.Add(ReflectionHelper.GetMemberName(memberSelector)); return(this); }