Esempio n. 1
0
 public static ISelectionSetBuilder <T> AddObjectField <T, TProperty>(this ISelectionSetBuilder <T> builder,
                                                                      string alias,
                                                                      Expression <Func <T, TProperty> > expression, ISelectionSet <TProperty> selectionSet)
     where T : class
     where TProperty : class
 {
     return(builder.AddObjectField(alias, expression, null, selectionSet));
 }
Esempio n. 2
0
 public static ISelectionSetBuilder <T> AddObjectField <T, TProperty>(this ISelectionSetBuilder <T> builder,
                                                                      Expression <Func <T, TProperty> > expression,
                                                                      IArgumentCollection arguments, ISelectionSet <TProperty> selectionSet)
     where T : class
     where TProperty : class
 {
     return(builder.AddObjectField(null, expression, arguments, selectionSet));
 }