src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/DomainRelationships.cs
/// <summary>
/// Get any Inheritance links between a given EntityType and a EntityType.
/// </summary>
Get any Inheritance links between a given EntityType and a EntityType.
Get any Inheritance links between a given EntityType and a EntityType .
[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.Inheritance> GetLinks( global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType source, global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType target )
		{
			global::System.Collections.Generic.List<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Inheritance> outLinks = new global::System.Collections.Generic.List<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Inheritance>();
			global::System.Collections.Generic.IList<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Inheritance> links = DslModeling::DomainRoleInfo.GetElementLinks<global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Inheritance>(source, global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Inheritance.SourceEntityTypeDomainRoleId);
			foreach ( global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.Inheritance link in links )
			{
				if ( target.Equals(link.TargetEntityType) )
				{
					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 . Inheritance > GetLinks ( global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityType source , global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityType target ) { global :: System . Collections . Generic . List < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . Inheritance > outLinks = new global :: System . Collections . Generic . List < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . Inheritance > ( ) ; global :: System . Collections . Generic . IList < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . Inheritance > links = DslModeling :: DomainRoleInfo . GetElementLinks < global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . Inheritance > ( source , global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . Inheritance . SourceEntityTypeDomainRoleId ) ; foreach ( global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . Inheritance link in links ) { if ( target . Equals ( link . TargetEntityType ) ) { outLinks . Add ( link ) ; } } return outLinks . AsReadOnly ( ) ; }
Get any Inheritance links between a given EntityType and a EntityType.
Get any Inheritance links between a given EntityType and a EntityType .
source
global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType
target
global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType