public static IEnumerable <ParameterBase> ToParameters(this TableRelationCondition condition) { yield return(new SimpleParameter("FieldName", condition.FieldName)); yield return(new SimpleParameter("Type", condition.Type)); yield return(new SimpleParameter("Value", condition.Value)); }
public static Invocation ToInvocation(this TableRelationCondition condition) { return(new Invocation("New-CBreezeTableRelationCondition", condition.ToParameters())); }