Konversi SQL ke LINQ Online Converter
select ID,Name,Category,Price,Quantity,(Quantity*Price) as Total from Items where ID=1;
morafiq rihab
select ID,Name,Category,Price,Quantity,(Quantity*Price) as Total from Items where ID=1;
select top 10 p.Nombre, p.Apellidos, (SELECT COUNT(*) FROM Personas ps WHERE PS.ParentCode LIKE '%' + CONVERT(VARCHAR, p.id) + '-%' ) Total
from personas p
ORDER BY Total desc