Castle.ActiveRecord.Framework.Internal.SemanticVerifierVisitor.VisitNested C# (CSharp) Méthode

VisitNested() public méthode

Visits the nested model
Infer the column name and applies and column prefixes specified
public VisitNested ( Castle.ActiveRecord.Framework.Internal.NestedModel model ) : void
model Castle.ActiveRecord.Framework.Internal.NestedModel The model.
Résultat void
		public override void VisitNested(NestedModel model)
		{
			if (model.NestedAtt.MapType == null)
			{
				model.NestedAtt.MapType = model.Property.PropertyType;
			}

			if (model.NestedAtt.ColumnPrefix != null)
			{
				columnPrefix.Append(model.NestedAtt.ColumnPrefix);
			}

			base.VisitNested(model);

			if (model.NestedAtt.ColumnPrefix != null)
			{
				columnPrefix.Length -= model.NestedAtt.ColumnPrefix.Length;
			}
		}