src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/SerializationHelper.cs
/// <summary>
/// Ensure that moniker resolvers and domain element serializers are installed properly on the given store, 
/// so that deserialization can be carried out correctly.
/// </summary>
/// <param name="store">Store on which moniker resolvers will be set up.</param>
Ensure that moniker resolvers and domain element serializers are installed properly on the given store,
so that deserialization can be carried out correctly.
Ensure that moniker resolvers and domain element serializers are installed properly on the given store so that deserialization can be carried out correctly .
internal protected virtual void InitializeSerialization(DslModeling::Store store)
		{
			#region Check Parameters
			global::System.Diagnostics.Debug.Assert(store != null);
			if (store == null)
				throw new global::System.ArgumentNullException("store");
			#endregion
			DslModeling::DomainXmlSerializerDirectory directory = this.GetDirectory(store);
			DslModeling::IMonikerResolver monikerResolver = store.FindMonikerResolver(MicrosoftDataEntityDesignDomainModel.DomainModelId);
			if (monikerResolver == null)
			{
				monikerResolver = new MicrosoftDataEntityDesignSerializationBehaviorMonikerResolver(store, directory);
				store.AddMonikerResolver(MicrosoftDataEntityDesignDomainModel.DomainModelId, monikerResolver);
			}
			directory.AddBehavior(MicrosoftDataEntityDesignSerializationBehavior.Instance);
		}
internal protected virtual void InitializeSerialization ( DslModeling :: Store store ) { region  Check Parameters global :: System . Diagnostics . Debug . Assert ( store != null ) ; if ( store == null ) throw new global :: System . ArgumentNullException ( " " ) ; endregion DslModeling :: DomainXmlSerializerDirectory directory = this . GetDirectory ( store ) ; DslModeling :: IMonikerResolver monikerResolver = store . FindMonikerResolver ( MicrosoftDataEntityDesignDomainModel . DomainModelId ) ; if ( monikerResolver == null ) { monikerResolver = new MicrosoftDataEntityDesignSerializationBehaviorMonikerResolver ( store , directory ) ; store . AddMonikerResolver ( MicrosoftDataEntityDesignDomainModel . DomainModelId , monikerResolver ) ; } directory . AddBehavior ( MicrosoftDataEntityDesignSerializationBehavior . Instance ) ; }
Ensure that moniker resolvers and domain element serializers are installed properly on the given store,
so that deserialization can be carried out correctly.
Ensure that moniker resolvers and domain element serializers are installed properly on the given store so that deserialization can be carried out correctly .
// Register the moniker resolver for this model, unless one is already registered // Add serialization behaviors
store
DslModeling::Store
Store on which moniker resolvers will be set up.
Store on which moniker resolvers will be set up .