Ok, I understand about the add entities dialog now, thanks.
Otis wrote:
The error comes from the fact that you have enabled 'RemoveUnderscoresFromElementName', and because you have specified a '_', it won't allow it. At least, if I have that project property set to true (it's a project property inherited from preferences) I get the error, but if I set it to false, I don't (which is logical).
Indeed, it does allow me to rename it to something without an underscore. Here are some observations:
1) The message might say "You can't name the entity with an underscore", rather than it's not CLS-compliant, etc.
2) I'm not sure why it's illegal for me to rename with an underscore. I interpreted that property to mean that when naming entities, the designer would not strip out the underscores it saw in the schema names. It appears to mean that plus, no entity can be named using an underscore. Is this correct? Remember, the entity is already named with an underscore. So besides the fact that property may mean more than it should, there is also an inconsistency in that my project has existing entity names that are not "legal" according to this property setting.
Seems to me that while it's fine for the designer to have some guidelines on default naming of entities when pulling from the schema, I shouldn't be restricted from how I want to manually name an entity.
Detection is quite simple really After all found tables are done, it will check all not yet migrated entities with the still left tables and see if fields match. If so, it will pick that table.
Heh, well guess I figured that subconciously. It's a bold move, and it works!