I have 3 tables without foreign keys (this is an old db, so I cannot change this). The model will be something like this (sql code):
Select PROD.ProductoId, PROD.Descripcion, STK.StockActual, DEPO.DepositoId, DEPO.Descripcion From Productos PROD, Stock STOK, Depositos DEPO where PROD.ProductoId = STOK.ProductoId and DEPO.DepositoId = STOK.DepositoId
How can I do to get the same results with Linq in C #?
source share