protected override Expression GetFieldExpression(ParameterExpression p_Instance, WhenField <T> p_Condition) { return(GetFieldIndexerExpression(p_Instance, p_Condition.FieldName)); }
protected override Expression GetConstantExpression(ParameterExpression p_Instance, WhenField <T> p_Condition) { string value = p_Condition.Value; if (ID.IsID(p_Condition.Value)) { value = IdHelper.NormalizeGuid(p_Condition.Value); } return((Expression)Expression.Constant((object)value)); }
public WhenFieldWrapper(WhenField <T> p_Condition) : base(p_Condition) { }