Quantcast
Channel: Linq to Sql Many-One relationship - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by tofi9 for Linq to Sql Many-One relationship

This is the n+1 problem. nHibernate has a solution for this, which is called join-fetch querying. What it basically does is a outer-join query between order and order-line, which will result in the...

View Article



Answer by Alex Moore for Linq to Sql Many-One relationship

You can extend your PurchaseOrder class to implement the OnLoadedMethod:public partial class PurchaseOrder { partial void OnLoaded() { LineItems =...

View Article

Linq to Sql Many-One relationship

I have 2 views in SQL set up:PurchaseOrderPurchaseOrderLineItemsThese have many columns aliased (the tables they view/join are not sensibly named... it's a 3rd party product)I have 2 classes...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>