src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/DomainRelationships.cs
/// <summary>
/// Get any EntityTypeHasProperties links between a given EntityType and a Property.
/// </summary>
Get any EntityTypeHasProperties links between a given EntityType and a Property.
Get any EntityTypeHasProperties links between a given EntityType and a Property .
[global::System.Diagnostics.DebuggerStepThrough]
		[global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
		internal static global::System.Collections.ObjectModel.ReadOnlyCollection<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasProperties> GetLinks( global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType source, global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Property target )
		{
			global::System.Collections.Generic.List<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasProperties> outLinks = new global::System.Collections.Generic.List<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasProperties>();
			global::System.Collections.Generic.IList<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasProperties> links = DslModeling::DomainRoleInfo.GetElementLinks<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasProperties>(source, global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasProperties.EntityTypeDomainRoleId);
			foreach ( global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityTypeHasProperties link in links )
			{
				if ( target.Equals(link.Property) )
				{
					outLinks.Add(link);
				}
			}
			return outLinks.AsReadOnly();
		}
[ global :: System . Diagnostics . DebuggerStepThrough ] [ global :: System . Diagnostics . CodeAnalysis . SuppressMessage ( " " , " " ) ] internal static global :: System . Collections . ObjectModel . ReadOnlyCollection < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasProperties > GetLinks ( global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityType source , global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . Property target ) { global :: System . Collections . Generic . List < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasProperties > outLinks = new global :: System . Collections . Generic . List < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasProperties > ( ) ; global :: System . Collections . Generic . IList < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasProperties > links = DslModeling :: DomainRoleInfo . GetElementLinks < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasProperties > ( source , global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasProperties . EntityTypeDomainRoleId ) ; foreach ( global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityTypeHasProperties link in links ) { if ( target . Equals ( link . Property ) ) { outLinks . Add ( link ) ; } } return outLinks . AsReadOnly ( ) ; }
Get any EntityTypeHasProperties links between a given EntityType and a Property.
Get any EntityTypeHasProperties links between a given EntityType and a Property .
source
global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType
target
global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Property