An application that I\'m facing at a customer, looks like this:
You could consider separating your MaterialsProperties table by typel e.g. into IntMaterialProperties
, CharMaterialProperties
, etc. This would:
You could also introduce a Type
column to Properties
, which you could use to determine which MaterialProperties
table to query. The column could also be used to validate the user's input is of the correct type, eliminating the need to query given "bad" input.