src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/ConnectionBuilders.cs
/// <summary>
/// Test whether a given model element is acceptable to this ConnectionBuilder as the target of a connection.
/// </summary>
/// <param name="candidate">The model element to test.</param>
/// <returns>Whether the element can be used as the target of a connection.</returns>
Test whether a given model element is acceptable to this ConnectionBuilder as the target of a connection.
Test whether a given model element is acceptable to this ConnectionBuilder as the target of a connection .
[global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
		public static bool CanAcceptTarget(DslModeling::ModelElement candidate)
		{
			if (candidate == null) return false;
			else if (candidate is global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType)
			{ 
				return true;
			}
			else
				return false;
		}
[ global :: System . Diagnostics . CodeAnalysis . SuppressMessage ( " " , " " ) ] public static bool CanAcceptTarget ( DslModeling :: ModelElement candidate ) { if ( candidate == null ) return false ; else if ( candidate is global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityType ) { return true ; } else return false ; }
Test whether a given model element is acceptable to this ConnectionBuilder as the target of a connection.
Test whether a given model element is acceptable to this ConnectionBuilder as the target of a connection .
Whether the element can be used as the target of a connection.
Whether the element can be used as the target of a connection .
candidate
DslModeling::ModelElement
The model element to test.
The model element to test .