Beispiel #1
0
 /// <summary>
 /// Removes the property from the mapper (typically used to remove properties automatically added).
 /// </summary>
 /// <typeparam name="TSrceProperty">The source property <see cref="Type"/>.</typeparam>
 /// <param name="srcePropertyExpression">The <see cref="Expression"/> to reference the source entity property.</param>
 /// <returns>The <see cref="EntityMapper{TSrce, TDest}"/>.</returns>
 public virtual EntityMapper <TSrce, TDest> Ignore <TSrceProperty>(Expression <Func <TSrce, TSrceProperty> > srcePropertyExpression)
 {
     return(Ignore(PropertyExpression <TSrce, TSrceProperty> .GetPropertyName(srcePropertyExpression)));
 }