I'm running tests with the Entity Framework and I had a problem putting a array as a parameter.
Is this behavior normal?
If yes, what name?
It works
List<Product> product = new List<Product>()
var p = product.ToArray();
db.Product.AddOrUpdate(x => x.Id, p);
Does not work
List<Product> product = new List<Product>()
db.Product.AddOrUpdate(x => x.Id, product.ToArray());