Example #1
0
        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));
        }
Example #2
0
 public static Invocation ToInvocation(this TableRelationCondition condition)
 {
     return(new Invocation("New-CBreezeTableRelationCondition", condition.ToParameters()));
 }