title: Using [FromQuery] Name property on complex type
body: <p>We can use <code>[FromQuery(Name"param")]</code> in a controller action to specify how the passed parameter will be used in the uri as in :</p>
  
  <pre><code>[HttpGet()]
  public IActionResult GetPeople([FromQuery(Name="page")] int pageNumber, [FromQuery(Name="size")] int pageSize)
  {
       //Do things
  }
  </code></pre>
  
  <p>How to use that in the case of using a complex type such as <code>PeoplePaginationParameters</code> where :</p>
  
  <pre><code>public class PaginationParameters
  {
      public int PageNumber { get; set;}
      public int PageSize { get; set;}
  }
  </code></pre>
  
  <p>Is there any thing like :</p>
  
  <pre><code>[HttpGet()]
  public IActionResult GetPeople([FromQuery(Name="page", Name="size")] PaginationParameters paginationParameters)
  {
      //Do things
  }
  </code></pre>