We are ready to start a brand new project at work, no legacy code. We did use Subsonic in the past and we pretty happy with it. But that was before Linq.
Has anyone had to face this same issue (Linq x Subsonic)?
What was your decision? What were the reasons?
Any insight appreciated.
SubSonic
Pros:
Cons:
Keep in mind:
Linq To SQL
Pros:
Cons:
Keep in mind:
Also evaluate the ADO.NET Entity Framework and here.
The one thing I love about LINQ, which I don't think SubSonic handles as gracefully, is automatically dealing with joins.
FROM a in db.Orders
where a.Total > 100
SELECT new {a.Item.Desc, a.Customer.Name};
will automatically generate SQL like thisL
select i.DESC, c.NAME
from ORDERS o
inner join ITEMS on o.ItemID = i.ItemID
inner join CUSTOMERS c on o.CustomerID = c.CUSTOMERID
where o.TOTAL > 100
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With