0
I have these tables:
Sales : Idvenda(int)PK, Datavenda(Datetime), Qdeitem(Decimal), Valuation(Decimal). Iditem(FK),Idcliente(FK)
Item: Iditem(int)PK,Descricao(Varchar),Valoritem(Decimal)
Client:Idclient(int)PK,Name(varchar),Datacadastro(Datetime)
How do I filter only customers who bought 5 or more bikes and at least one tire using LINQ
only?
In the application, customer has a list of Sales?
– Vinícius
You use Entityframework?
– Julio Borges
This should be done with normal LINQ or Sql. Only need among a list of things sold, the Linq or sql should return who bought more than five cars and a tire.
– pnet