public IQueryBuilder <T> AddCustomQuery <TV>(Expression <Func <T, TV> > expression, object value,
                                              ValuePosition valuePosition)
 {
     _dictionary.Add(Express.PropertyWithLambda(expression).Name, BuildPositionalValue(valuePosition, value));
     return(this);
 }
示例#2
0
 public IProjection <T> Include <TV>(Expression <Func <T, TV> > expression)
 {
     _properties.Add(Express.PropertyWithLambda(expression));
     return(this);
 }
示例#3
0
 public IProjection <T> Ignore <TV>(Expression <Func <T, TV> > expression)
 {
     _ignores.Add(GetXmlRpcMemberName(Express.PropertyWithLambda(expression)));
     return(this);
 }
示例#4
0
 public void Add <TV>(Expression <Func <T, TV> > expression, TV value)
 {
     Name  = Express.PropertyWithLambda(expression).Name;
     Value = value;
 }