src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/DomainRelationships.cs
/// <summary>
/// Get the one EntityTypeHasNavigationProperties link between a given EntityTypeand a NavigationProperty.
/// </summary>
Get the one EntityTypeHasNavigationProperties link between a given EntityTypeand a NavigationProperty.
Get the one EntityTypeHasNavigationProperties link between a given EntityTypeand a NavigationProperty .
[global::System.Diagnostics.DebuggerStepThrough]
		[global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
		internal static global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasNavigationProperties GetLink( global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType source, global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.NavigationProperty target )
		{
			global::System.Collections.Generic.IList<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasNavigationProperties> links = DslModeling::DomainRoleInfo.GetElementLinks<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasNavigationProperties>(source, global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasNavigationProperties.EntityTypeDomainRoleId);
			foreach ( global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasNavigationProperties link in links )
			{
				if ( target.Equals(link.NavigationProperty) )
				{
					return link;
				}
			}
			return null;
		}
[ global :: System . Diagnostics . DebuggerStepThrough ] [ global :: System . Diagnostics . CodeAnalysis . SuppressMessage ( " " , " " ) ] internal static global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasNavigationProperties GetLink ( global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityType source , global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . NavigationProperty target ) { global :: System . Collections . Generic . IList < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasNavigationProperties > links = DslModeling :: DomainRoleInfo . GetElementLinks < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasNavigationProperties > ( source , global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasNavigationProperties . EntityTypeDomainRoleId ) ; foreach ( global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasNavigationProperties link in links ) { if ( target . Equals ( link . NavigationProperty ) ) { return link ; } } return null ; }
Get the one EntityTypeHasNavigationProperties link between a given EntityTypeand a NavigationProperty.
Get the one EntityTypeHasNavigationProperties link between a given EntityTypeand a NavigationProperty .
source
global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType
target
global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.NavigationProperty