<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blinq Preview</title><link>http://forums.asp.net/1076.aspx</link><description>Blinq is a tool for generating ASP.NET websites for displaying, creating, and manipulating data based on database schema.  You can provide feedback and ask questions about the Blinq preview in this forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Multiple foreign keys between two tables</title><link>http://forums.asp.net/thread/2108361.aspx</link><pubDate>Mon, 14 Jan 2008 14:51:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2108361</guid><dc:creator>Brad Engels</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2108361.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=2108361</wfw:commentRss><description>&lt;p&gt;I have been working on an issue tracking application and have decided to do my database access using linq. The only real problem I have run into is how to link two tables that have multiple foreign key relations.&lt;/p&gt;
&lt;p&gt;I have table [Issue] and table [User]. [Issue] has fields issue_creator_id and issue_assigned_id, both related to [User].&lt;/p&gt;
&lt;p&gt;The problem that I run into is that when I access Issue.User.user_name with linq, I cannot choose between the creator or assigned relationship.&lt;/p&gt;
&lt;p&gt;Other than creating a different User table in the dbml for each time I have multiple foreign keys, what can I do?&lt;/p&gt;</description></item></channel></rss>