This model is used to represent a dependent object value type (<composite-element/> - in NHibernate talk).
Наследование: IVisitable
 /// <summary>
 /// Visits the Dependent Object à
 /// </summary>
 /// <param name="model">The model</param>
 public virtual void VisitDependentObject(DependentObjectModel model)
 {
     VisitNode(model.Model);
 }
Пример #2
0
		/// <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>");
		}
Пример #3
0
 /// <summary>
 /// Visits the Dependent Object à
 /// </summary>
 /// <param name="model">The model</param>
 public virtual void VisitDependentObject(DependentObjectModel model)
 {
     VisitNode(model.Model);
 }