EF: GetRelationTypeExpensiveWay

Posted by: Julia Lerman Blog - Dont Be Iffy..., on 12 Aug 2008 | View original | Bookmarked: 0 time(s)

I spend a lot of time in Reflector learning about Entity Framework but here's a very oddly named (yet descriptive, don't you think?) method I missed. In EF, when your entities are being managed by the objectContext, relationships are defined by separate objects. In order to build a graph, the context looks at your entity, then finds all of the RelationshipEntries that contain that entity and from there traverses to the entities on the other end of the relationship object. Outside of the objectContext,...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Data | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1035 | Hits: 10

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD