protected void AddNavigationConnectionField <TReturn>( string name, Func <ResolveFieldContext <TSource>, IEnumerable <TReturn> > resolve, Type graphType = null, IEnumerable <QueryArgument> arguments = null, IEnumerable <string> includeNames = null, int pageSize = 10) where TReturn : class { efGraphQlService.AddNavigationConnectionField(this, name, resolve, graphType, arguments, includeNames, pageSize); }
protected ConnectionBuilder <TGraph, TSource> AddNavigationConnectionField <TGraph, TReturn>( string name, Func <ResolveFieldContext <TSource>, IEnumerable <TReturn> > resolve, IEnumerable <QueryArgument> arguments = null, IEnumerable <string> includeNames = null, int pageSize = 10) where TGraph : ObjectGraphType <TReturn> where TReturn : class { return(efGraphQlService.AddNavigationConnectionField <TSource, TGraph, TReturn>(this, name, resolve, arguments, includeNames, pageSize)); }