This model is used to represent a dependent object value type (<composite-element/> - in NHibernate talk).
Inheritance: IVisitable
 /// <summary>
 /// Visits the Dependent Object à
 /// </summary>
 /// <param name="model">The model</param>
 public virtual void VisitDependentObject(DependentObjectModel model)
 {
     VisitNode(model.Model);
 }
		/// <summary>
		/// Visits the dependent object.
		/// </summary>
		/// <param name="model">The model</param>
		public override void VisitDependentObject(DependentObjectModel model)
		{
			AppendF("<composite-element{0}>",
			        WriteIfNonNull("class", MakeTypeName(model.HasManyAtt.MapType)));

			base.VisitDependentObject(model);

			Append("</composite-element>");
		}
Exemple #3
0
 /// <summary>
 /// Visits the Dependent Object à
 /// </summary>
 /// <param name="model">The model</param>
 public virtual void VisitDependentObject(DependentObjectModel model)
 {
     VisitNode(model.Model);
 }