Access Association Details of NavigationProperty in C#
===

I'm creating a C# T4 template to scaffold some classes based on .edmx file, so far so good. What I now need though, is a way to access the name of the columns it connects in the database, through a [NavigationProperty][1].

I realized, not long ago, that you can access this information in the .edmx visual designer, under mapping details for an specific NavigationProperty:
![enter image description here][2]

So basically, if in the T4 template; I already have an instance of the NavigationProperty I want... How can I get the names of the fields it connects? (`WeatherOnMondays` in this case)

  [1]: http://msdn.microsoft.com/en-us/library/system.data.metadata.edm.navigationproperty_members%28v=vs.90%29.aspx
  [2]: http://i.stack.imgur.com/CFqUS.png