Method To
To<T, TContext, TTarget>(PropertyRuleBuilder<T, TContext>, Expression<Func<TContext, TTarget>>)
Declaration
public static void To<T, TContext, TTarget>(this PropertyRuleBuilder<T, TContext> ruleBuilder, Expression<Func<TContext, TTarget>> targetExpression) where T : TTarget where TContext : class
Parameters
Type Parameters
Name |
Description |
T |
|
TContext |
|
TTarget |
|
To<T, TContext>(PropertyRuleBuilder<T, TContext>, Expression<Func<TContext, T?>>)
Declaration
public static void To<T, TContext>(this PropertyRuleBuilder<T, TContext> ruleBuilder, Expression<Func<TContext, T?>> targetExpression) where T : struct where TContext : class
Parameters
Type Parameters
Name |
Description |
T |
|
TContext |
|