I have a schema that needs to allow users to "attach" up to 24 string fields to 5 different base tables and define the label text that is shown on the UI for each field.
For example, a user adds a field called "Catering" to a Check entry system. Essentially the user "picks" the UDF1 field and tells the system it should be identified with the label "Catering" on the UI. When the check is made out and the user adds Payee and Amount, the field Catering shows up on the UI as a possible data entry field. ( This is an arbitrary example )
Its certainly possible to add the 24 string fields outright to every base table. For example
ID, CHECKAMT, UDF1, UDF2, UDF3 etc etc. And then provide a way for the system to remember that the user wants to show UDF1 with the title "Catering" on the UI.
Another way might be table inheritance - but it seems that I end up with 24 additional tables PER base table to describe this relationship.
Yet another possible solution is to attach and XML column to each base table and store custom data as XML in hopes that it covers the Name of the Custom Field and its Value.
Lastly there is EAV. That might be overkill since these fields I am dealing with are simple string types. Here is a nice post on EAV that explains it better than I could
http://weblogs.sqlteam.com/davidm/articles/12117.aspx
So that brings me to my question. While there are any number of solutions on the internet, is there a specific approach that works best w LLBLGEN ?
Thanks in advance !