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