Thanks for quick turn around Frans!
What I don't see is 'move property to entity', in EF designer. I dragged/dropped, checked menus but there's no such thing.
When I said move, I meant cut the property in Photo Entity and Paste it in to the PhotoImage entity.
Anyway, go to fieldmappings tab, click the reverse engineer unmapped fields button to get the field, without manual labor. Wink
It looks like I didn't explain the problem correctly.
In a split-off entity scenario LLBLGen designer expects that the split off entity should have only optional fields.
I am not able to resolve the following errors in the designer.
First I get the following error
Message type: Error
Message text: For the database with driver 'SQL Server 2000/2005/2008/Express Driver (SqlClient)', the field 'HighResolutionBits' in entity 'PhotoImage' isn't marked as optional, while its containing entity is a split-off entity of entity 'Photograph' which doesn't have this field mapped.
Source: PhotoImage
Created on: Tuesday, August 17, 2010 12:26 PM
Corrections/suggestions
Choice 1: Open entity 'PhotoImage' in its editor and manually mark the field as Optional or otherwise correct the error.
**
If I make the HighResolutionBits optional in PhotoImage entity, as suggested (just to see what happens) I get the following error**
Message type: Error
Message text: The mapping of sub-element 'HighResolutionBits' of entity 'PhotoImage' for the target database with the driver 'SQL Server 2000/2005/2008/Express Driver (SqlClient)' has the following errors:
- MappedTarget: The IsNullable flag on target field 'Photograph.HighResolutionBits' is set to 'False' while the IsOptional flag of the mapped field 'HighResolutionBits' is set to 'True'
Source: PhotoImage mapping
Created on: Tuesday, August 17, 2010 12:22 PM
Corrections/suggestions
Choice 1: Open containing element 'PhotoImage' in its editor and manually correct the errors.