Entity Framework - Related Objects question
1 answer
Say you have a "overview" element and it is associated with a "product", which you would do something like this:
review.productsReference.Value = db.products.First(p => p.product_id == 2);
Link installation. A value equal to the object itself.
http://naspinski.net/post/Getting-started-with-Linq-To-Entities.aspx
+1
source to share