public UpdateFields <T> Set <TValue1>(Expression <Func <T, TValue1> > e, object value)
        {
            MemberBuilderVisitor visitor = new MemberBuilderVisitor();

            visitor.Visit(e);
            Parameters.Add(visitor.GetMemberName(), value);
            return(this);
        }
Example #2
0
 public void Select <TValue1>(params Expression <Func <T, TValue1> >[] fields)
 {
     foreach (var field in fields)
     {
         MemberBuilderVisitor visitor = new MemberBuilderVisitor();
         visitor.Visit(field);
         _Fields.Add(visitor.GetMemberName());
     }
 }