src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/Serializer.cs
/// <summary>
/// This method calculates a moniker to a given EntityDesignerViewModel instance.
/// </summary>
/// <param name="directory">Directory to look up serializer based on model element type.</param>
/// <param name="element">EntityDesignerViewModel instance to calculate qualified name for.</param>
/// <returns>A fully qualified string moniker to the EntityDesignerViewModel instance.</returns>
This method calculates a moniker to a given EntityDesignerViewModel instance.
This method calculates a moniker to a given EntityDesignerViewModel instance .
public override string CalculateQualifiedName(DslModeling::DomainXmlSerializerDirectory directory, DslModeling::ModelElement element)
		{
			#region Check Parameters
			global::System.Diagnostics.Debug.Assert (directory != null);
			if (directory == null)
				throw new global::System.ArgumentNullException ("directory");
			global::System.Diagnostics.Debug.Assert(element != null);
			if (element == null)
				throw new global::System.ArgumentNullException("element");
			#endregion	
			global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityDesignerViewModel instance = element as global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityDesignerViewModel;
			global::System.Diagnostics.Debug.Assert(instance != null, "Expecting an instance of global::Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityDesignerViewModel!");
			return instance.Id.ToString("D", global::System.Globalization.CultureInfo.CurrentCulture);
		}
public override string CalculateQualifiedName ( DslModeling :: DomainXmlSerializerDirectory directory , DslModeling :: ModelElement element ) { region  Check Parameters global :: System . Diagnostics . Debug . Assert ( directory != null ) ; if ( directory == null ) throw new global :: System . ArgumentNullException ( " " ) ; global :: System . Diagnostics . Debug . Assert ( element != null ) ; if ( element == null ) throw new global :: System . ArgumentNullException ( " " ) ; endregion global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityDesignerViewModel instance = element as global :: Microsoft . Data . Entity . Design . EntityDesigner . ViewModel . EntityDesignerViewModel ; global :: System . Diagnostics . Debug . Assert ( instance != null , " " ) ; return instance . Id . ToString ( " " , global :: System . Globalization . CultureInfo . CurrentCulture ) ; }
This method calculates a moniker to a given EntityDesignerViewModel instance.
This method calculates a moniker to a given EntityDesignerViewModel instance .
A fully qualified string moniker to the EntityDesignerViewModel instance.
A fully qualified string moniker to the EntityDesignerViewModel instance .
directory
DslModeling::DomainXmlSerializerDirectory
Directory to look up serializer based on model element type.
Directory to look up serializer based on model element type .
element
DslModeling::ModelElement
EntityDesignerViewModel instance to calculate qualified name for.
EntityDesignerViewModel instance to calculate qualified name for .