title: Can a class with a list/array be passed in an UseInMemoryDatabase?
body: <p>I'm creating a dumb database using <code>UseInMemoryDatabase</code> in .net, but I cannot pass a list/array in the class that I trying to put in the memory.</p>
  
  <pre><code>public class Products
  {
      [Key]
      public long productId { get; set; }
      public string productName { get; set; }
      public double productPrice { get; set; }
      public string productDescription { get; set; }
      public string[] category{ get; set; }
  
      public Products(long productId, string productName, double productPrice, string productDescription, string[] category)
      {
          this.productId = productId;
          this.productName = productName;
          this.productPrice = productPrice;
          this.productDescription = productDescription;
          this.category = category;
      }
  }
  </code></pre>
  
  <p>Then I am trying to add this class in memory.</p>
  
  <pre><code>services.AddDbContext&lt;ProductContext&gt;(opts =&gt; opts.UseInMemoryDatabase("Products"));
  </code></pre>
  
  <p>But when I call the context and the class, I get the following error:</p>
  
  <blockquote>
    <p>System.InvalidOperationException: 'No suitable constructor found for entity type 'Products'. The following constructors had parameters that could not be bound to properties of the entity type: cannot bind 'category' in 'Products(long productId, string productName, double productPrice, string productDescription, string[] category)'.'</p>
  </blockquote>
  
  <p>I'm trying to know if it is something possible?</p>