/// \deprecated Use `QueryRoot.productTypes` instead. /// <summary> /// List of the shop’s product types. /// </summary> /// <param name="first"> /// Returns up to the first `n` elements from the list. /// </param> public ShopQuery productTypes(StringConnectionDelegate buildQuery, long first, string alias = null) { Log.DeprecatedQueryField("Shop", "productTypes", "Use `QueryRoot.productTypes` instead."); if (alias != null) { ValidationUtils.ValidateAlias(alias); Query.Append("productTypes___"); Query.Append(alias); Query.Append(":"); } Query.Append("productTypes "); Arguments args = new Arguments(); args.Add("first", first); Query.Append(args.ToString()); Query.Append("{"); buildQuery(new StringConnectionQuery(Query)); Query.Append("}"); return(this); }
/// <summary> /// List of the shop’s product types. /// </summary> /// <param name="first"> /// Returns up to the first `n` elements from the list. /// </param> public QueryRootQuery productTypes(StringConnectionDelegate buildQuery, long first, string alias = null) { if (alias != null) { ValidationUtils.ValidateAlias(alias); Query.Append("productTypes___"); Query.Append(alias); Query.Append(":"); } Query.Append("productTypes "); Arguments args = new Arguments(); args.Add("first", first); Query.Append(args.ToString()); Query.Append("{"); buildQuery(new StringConnectionQuery(Query)); Query.Append("}"); return(this); }