I need this class to pass special configuration for the many-to-any
Наследование: IVisitable
Пример #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>");
        }
Пример #2
0
 public virtual void VisitHasManyToAnyConfig(HasManyToAnyModel.Config hasManyToAnyConfigModel)
 {
 }