This question is locked. New answers and comments are not allowed.
Hi there
When forward mapping fields of type IDictionary can you clarify the docuemntation - do the restrictions on Value and Key types for the IDictionary remain the same as that specified for non-generic collections that need the ItemTypeAttribute? The documentation seems to refer to the old style fields where the "The element (item) type can be any type that is allowed for a simple persistent field" ("Map and Collection Fields" in programmers guide mapping section). What I want to do is specify IDIctionary fields where the key and value types are defined by myself as persistent classes or with a string for the key value.
Currently I am getting a runtime (not designer) error "Incomplete model information for map : <my field> of class <my class>", where the field is an IDictionary type field but I am thinking I have done something wrong.
Many thanks
James Denning
When forward mapping fields of type IDictionary can you clarify the docuemntation - do the restrictions on Value and Key types for the IDictionary remain the same as that specified for non-generic collections that need the ItemTypeAttribute? The documentation seems to refer to the old style fields where the "The element (item) type can be any type that is allowed for a simple persistent field" ("Map and Collection Fields" in programmers guide mapping section). What I want to do is specify IDIctionary fields where the key and value types are defined by myself as persistent classes or with a string for the key value.
Currently I am getting a runtime (not designer) error "Incomplete model information for map : <my field> of class <my class>", where the field is an IDictionary type field but I am thinking I have done something wrong.
Many thanks
James Denning