I need this class to pass special configuration for the many-to-any
Inheritance: IVisitable
Ejemplo n.º 1
0
        public override void VisitHasManyToAnyConfig(HasManyToAnyModel.Config model)
        {
            HasManyToAnyAttribute att = model.Parent.HasManyToAnyAtt;

            AppendF("<many-to-any {0} >",
                    MakeCustomTypeAtt("id-type", att.IdType),
                    MakeCustomTypeAttIfNotNull("meta-type", att.MetaType));
            Ident();
            AppendF("<column {0} />",
                    MakeAtt("name", att.TypeColumn));
            AppendF("<column {0} />",
                    MakeAtt("name", att.IdColumn));
            Dedent();
            AppendF("</many-to-any>");
        }
Ejemplo n.º 2
0
 public virtual void VisitHasManyToAnyConfig(HasManyToAnyModel.Config hasManyToAnyConfigModel)
 {
 }