public static IMappingExpression <TSource, TDestination> IgnoreExtraProperties <TSource, TDestination>( this IMappingExpression <TSource, TDestination> mappingExpression) where TDestination : IHasExtraProperties where TSource : IHasExtraProperties { return(mappingExpression.Ignore(x => x.ExtraProperties)); }
public static IMappingExpression <TSource, TDestination> IgnoreMayHaveCreatorProperties <TSource, TDestination, TUser>( this IMappingExpression <TSource, TDestination> mappingExpression) where TDestination : IMayHaveCreator <TUser> { return(mappingExpression .Ignore(x => x.Creator)); }
public static IMappingExpression <TSource, TDest> IgnoreChangeStamp <TSource, TDest>( this IMappingExpression <TSource, TDest> expression) where TDest : IHaveChangeStamp { return(expression .Ignore(d => d.ChangeStamp)); }
public static IMappingExpression <TSource, TDest> IgnoreOrderDbObjectProperties <TSource, TDest>( this IMappingExpression <TSource, TDest> expression) where TDest : OrderDbObjectWithChangeStamp { return(expression.Ignore(d => d.Id).Ignore(d => d.ChangeStamp)); }
public static IMappingExpression <TSource, TDestination> IgnoreSoftDeleteProperties <TSource, TDestination>( this IMappingExpression <TSource, TDestination> mappingExpression) where TDestination : ISoftDelete { return(mappingExpression.Ignore(x => x.IsDeleted)); }
public static IMappingExpression <TSource, TDestination> IgnoreHasModificationTimeProperties <TSource, TDestination>( this IMappingExpression <TSource, TDestination> mappingExpression) where TDestination : IHasModificationTime { return(mappingExpression.Ignore(x => x.LastModificationTime)); }