[wix-devs] Core table and tuple definitions

Sean Hall r.sean.hall at gmail.com
Fri Apr 10 19:18:28 PDT 2020

I'm working on moving the table definitions out of Core's tables.xml and
into Data with static definitions like I did for the extensions. I have a
few questions:

1. Now that the tuple and table definitions will be defined in code, should
the TableDefinition take the TupleDefinition instead of just the string for
the name? If not, should there be a way to specify that a TableDefinition
doesn't have a corresponding TupleDefinition?

2. There's a lot of inconsistency in the tuples around when to expose a
nullable column as nullable. For instance, the IconIndex field for
ClassTuple and the RunAsInteractiveUser field for AppIdTuple are nullable
but the Ordering field for ContolEventTuple is not. Were some fields not
exposed as nullable on purpose or are these just bugs?

3. Most of the tuples in Data are casting instead of using the AsBool,
AsNumber, etc. extension methods. Should I make them using those instead of

More information about the wix-devs mailing list