A method and system for generating database records is provided. A user
interface element is generated for a dynamic key, the user interface
element having a name field and a value input field. A generic data
object is provided, the generic data object having an attribute pair and
the attribute pair having a dynamic name attribute and a dynamic value
attribute. The name field is bound to the dynamic name attribute and the
value input field is bound to the dynamic value attribute. An instance of
the attribute pair for the dynamic key is generated. A first entry from
the name field is passed to the dynamic name attribute and a second entry
from the value input field is passed to the dynamic value attribute. The
instance of the attribute pair is saved as a record.