Пример #1
0
 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;
 }