tag:blogger.com,1999:blog-11646261.post8866017857428277913..comments2024-01-02T00:43:44.344-08:00Comments on OakLeaf Systems: Controlling the Depth and Order of EntitySets for 1:Many AssociationsRoger Jennings (--rj)http://www.blogger.com/profile/01700526164060680385noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-11646261.post-89114224145270912612010-02-13T18:10:36.257-08:002010-02-13T18:10:36.257-08:00So this article is old as bajesus, but it still se...So this article is old as bajesus, but it still seems to be the case that you can't do filtering of child collections.<br />Is that the case? I don't understand why the entity framework still doesn't have the equivalent of Linq to SQL's AssociateWith()Anonymoushttps://www.blogger.com/profile/09472312507873363654noreply@blogger.comtag:blogger.com,1999:blog-11646261.post-89388718552102216762009-01-25T10:25:00.000-08:002009-01-25T10:25:00.000-08:00@Sydney,Substituting a parameterized stored proced...@Sydney,<BR/><BR/>Substituting a parameterized stored procedure for the dynamic SQL generated by CreateSourceQuery() isn't likely to work. <BR/><BR/>However, retrieving the associated entities with a stored procedure and then attaching them to a stub probably would work. Danny Simmons' post referenced in this article has more details on attaching associated entities to stubs.<BR/><BR/>--rjRoger Jennings (--rj)https://www.blogger.com/profile/01700526164060680385noreply@blogger.comtag:blogger.com,1999:blog-11646261.post-15734276365155054152009-01-24T23:17:00.000-08:002009-01-24T23:17:00.000-08:00I know this post is pretty old and may be outdated...I know this post is pretty old and may be outdated, but you said: "Alternatively, you can overload some methods in the code-generated DataContext classes with a partial class file and substitute a stored procedure (with optional parameters) for the lambda expression."<BR/><BR/>I have a situation in which I am only allowed db access via sproc and have a heavily heirarchical data structure in an Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11646261.post-44304884897909768022008-02-20T16:50:00.000-08:002008-02-20T16:50:00.000-08:00"serializing many:1 and 1:many associations create..."serializing many:1 and 1:many associations creates cyclic relationships that binary serialization can handle"<BR/><BR/>I tried passing an Entity object that has a 1:Many EntityCollection in it and after it passes through the WCF layer, the collection always has a count of zero. I am using Named Pipes which use binary serialization, so shouldn't it preserve the collection? The data is in the Jonathan Pughhttps://www.blogger.com/profile/08783399406296532959noreply@blogger.comtag:blogger.com,1999:blog-11646261.post-48914320792776377472007-12-21T23:11:00.000-08:002007-12-21T23:11:00.000-08:00I've also been waiting since early 2006 for the ge...I've also been waiting since early 2006 for the general-tier story for EF. Maybe it situates as a backend/2-tier service like hibernate and its kin.<BR/><BR/>Cheers,<BR/>-MatAnonymousnoreply@blogger.com