src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/Serializer.cs
/// <summary>
/// Add a warning when a short-form relationship seems to be serialized in full-form.
/// </summary>
/// <param name="serializationContext">SerializationContext to add the warning message to.</param>
/// <param name="reader">The reader pointing to where the message is raised.</param>
/// <param name="relationshipType">Type of the relationship.</param>
Add a warning when a short-form relationship seems to be serialized in full-form.
Add a warning when a short - form relationship seems to be serialized in full - form .
public static void ExpectingShortFormRelationship(DslModeling::SerializationContext serializationContext, global::System.Xml.XmlReader reader, global::System.Type relationshipType)
		{
			#region Check Parameters
			global::System.Diagnostics.Debug.Assert(serializationContext != null);
			if (serializationContext == null)
				throw new global::System.ArgumentNullException("serializationContext");
			global::System.Diagnostics.Debug.Assert(reader != null);
			if (reader == null)
				throw new global::System.ArgumentNullException("reader");
			global::System.Diagnostics.Debug.Assert(relationshipType != null);
			if (relationshipType == null)
				throw new global::System.ArgumentNullException("relationshipType");
			#endregion
			DslModeling::SerializationUtilities.AddMessage(
				serializationContext,
				DslModeling::SerializationMessageKind.Warning,
				string.Format(
					global::System.Globalization.CultureInfo.CurrentCulture,
					ResourceManager.GetString("ExpectingShortFormRelationship"),
					relationshipType.Name
				),
				reader as global::System.Xml.IXmlLineInfo
			);
		}
public static void ExpectingShortFormRelationship ( DslModeling :: SerializationContext serializationContext , global :: System . Xml . XmlReader reader , global :: System . Type relationshipType ) { region  Check Parameters global :: System . Diagnostics . Debug . Assert ( serializationContext != null ) ; if ( serializationContext == null ) throw new global :: System . ArgumentNullException ( " " ) ; global :: System . Diagnostics . Debug . Assert ( reader != null ) ; if ( reader == null ) throw new global :: System . ArgumentNullException ( " " ) ; global :: System . Diagnostics . Debug . Assert ( relationshipType != null ) ; if ( relationshipType == null ) throw new global :: System . ArgumentNullException ( " " ) ; endregion DslModeling :: SerializationUtilities . AddMessage ( serializationContext , DslModeling :: SerializationMessageKind . Warning , string . Format ( global :: System . Globalization . CultureInfo . CurrentCulture , ResourceManager . GetString ( " " ) , relationshipType . Name ) , reader as global :: System . Xml . IXmlLineInfo ) ; }
Add a warning when a short-form relationship seems to be serialized in full-form.
Add a warning when a short - form relationship seems to be serialized in full - form .
serializationContext
DslModeling::SerializationContext
SerializationContext to add the warning message to.
SerializationContext to add the warning message to .
reader
global::System.Xml.XmlReader
The reader pointing to where the message is raised.
The reader pointing to where the message is raised .
relationshipType
global::System.Type
Type of the relationship.
Type of the relationship .