src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/DomainClasses.cs
/// <summary>
/// Called by the Merge process to create a relationship between 
/// this target element and the specified source element. 
/// Typically, a parent-child relationship is established
/// between the target element (the parent) and the source element 
/// (the child), but any relationship can be established.
/// </summary>
/// <param name="sourceElement">The element that is to be related to this model element.</param>
/// <param name="elementGroup">The group of source ModelElements that have been rehydrated into the target store.</param>
/// <remarks>
/// This method is overriden to create the relationship between the target element and the specified source element.
/// The base method does nothing.
/// </remarks>
Called by the Merge process to create a relationship between
this target element and the specified source element.
Typically, a parent-child relationship is established
between the target element (the parent) and the source element
(the child), but any relationship can be established.
Called by the Merge process to create a relationship between this target element and the specified source element . Typically a parent - child relationship is established between the target element ( the parent ) and the source element ( the child ) but any relationship can be established .
protected override void MergeRelate(DslModeling::ModelElement sourceElement, DslModeling::ElementGroup elementGroup)
		{
			if ( sourceElement == null ) throw new global::System.ArgumentNullException("sourceElement");
			global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType sourceEntityType1 = sourceElement as global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityType;
			if (sourceEntityType1 != null)
			{
				this.EntityTypes.Add(sourceEntityType1);
				return;
			}
			base.MergeRelate(sourceElement, elementGroup);
		}
protected override void MergeRelate ( DslModeling :: ModelElement sourceElement , DslModeling :: ElementGroup elementGroup ) { if ( sourceElement == null ) throw new global :: System . ArgumentNullException ( " " ) ; global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityType sourceEntityType1 = sourceElement as global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityType ; if ( sourceEntityType1 != null ) { this . EntityTypes . Add ( sourceEntityType1 ) ; return ; } base . MergeRelate ( sourceElement , elementGroup ) ; }
Called by the Merge process to create a relationship between
this target element and the specified source element.
Called by the Merge process to create a relationship between this target element and the specified source element .
// In general, sourceElement is allowed to be null, meaning that the elementGroup must be parsed for special cases. // However this is not supported in generated code.  Use double-deriving on this class and then override MergeRelate completely if you  // need to support this case. // Create link for path Microsoft.Data.Entity.Design.EntityDesigner.EntityDesignerViewModelHasEntityTypes.EntityTypes // Fall through to base class if this class hasn't handled the merge.
sourceElement
DslModeling::ModelElement
The element that is to be related to this model element.
The element that is to be related to this model element .
elementGroup
DslModeling::ElementGroup
The group of source ModelElements that have been rehydrated into the target store.
The group of source ModelElements that have been rehydrated into the target store .
remarks
This method is overriden to create the relationship between the target element and the specified source element.
The base method does nothing.
This method is overriden to create the relationship between the target element and the specified source element . The base method does nothing .