costab wrote:
- Is it possible to add a collection in a value type using the llblgen editor?
Valuetypes can't have relationships in llblgen pro. NHibernate supports entity types to be used as value types (or component types) but we do not. So: no you can't
- Is it possible to specify the row type of a typed list as an existing value type class?
Thanks
You can select fields from a valuetype in a typedlist, just add the entity with the valuetypes to the typed list, then select the field (s) you want to add. In a typed list, the valuetype fields are flattened, as the list is a flat list, so you can't have a column of type 'Address' if Address is a valuetype, all fields in 'Address' are selectable independently. This is done because the form in which the typedlist is generated isn't determined at this stage: a class or a datatable or whatever: it depends on the output template what the class form will be for the typedlist, and e.g. for a datatable having fields of type 'Address' won't work.