Exemplo n.º 1
0
 public static ISelectionSetBuilder <T> AddScalarCollectionField <T, TProperty>(
     this ISelectionSetBuilder <T> builder,
     Expression <Func <T, IEnumerable <TProperty> > > expression)
     where T : class
 {
     return(builder.AddScalarCollectionField(null, expression));
 }
Exemplo n.º 2
0
 public static ISelectionSetBuilder <T> AddScalarField <T, TProperty>(this ISelectionSetBuilder <T> builder,
                                                                      string alias,
                                                                      Expression <Func <T, TProperty> > expression)
     where T : class
 {
     return(builder.AddScalarField(alias, expression, null));
 }
Exemplo n.º 3
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));
 }
Exemplo n.º 4
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));
 }
Exemplo n.º 5
0
 public static ISelectionSetBuilder <T> AddObjectCollectionField <T, TProperty>(
     this ISelectionSetBuilder <T> builder,
     Expression <Func <T, IEnumerable <TProperty> > > expression,
     ISelectionSet <TProperty> selectionSet)
     where T : class
     where TProperty : class
 {
     return(builder.AddObjectCollectionField(null, expression, null, selectionSet));
 }
Exemplo n.º 6
0
 public static ISelectionSetBuilder <T> AddScalarField <T, TProperty>(this ISelectionSetBuilder <T> builder,
                                                                      Expression <Func <T, TProperty> > expression, IArgumentCollection arguments)
     where T : class
 {
     return(builder.AddScalarField(null, expression, arguments));
 }