This question is locked. New answers and comments are not allowed.
If you import a table called "ContactHistory" and generate a CUD mapping for insert the table name will be 'sp_oa_ins__contact _history'
If you import a table called "CONTACTHISTORY" and do the same as above the generated name (which is read only) is 'sp_oa_ins__c_o_n_t_a_c_t_h_i_s_t_o_r_y'. I've never ever seen a stored procedure named like that. Also why can't the developer not choose the naming convention (same applies to the TSQL which is not maintainable) , our dbo (and others will) correctly states it's non-compliant.
Rather than check the next char is lower it just ignores and generates that unreadable name instead.
The ORM team have confirmed the SP name is generated from the table name not the entity name, fair enough but our database has 600+ tables, most are uppercase and they can't be changed. They don't think it's a bug although agree it needs to be improved.
I'm arguing it's a bug, am I been unfair ?
Any comments would be welcome.
If you import a table called "CONTACTHISTORY" and do the same as above the generated name (which is read only) is 'sp_oa_ins__c_o_n_t_a_c_t_h_i_s_t_o_r_y'. I've never ever seen a stored procedure named like that. Also why can't the developer not choose the naming convention (same applies to the TSQL which is not maintainable) , our dbo (and others will) correctly states it's non-compliant.
Rather than check the next char is lower it just ignores and generates that unreadable name instead.
The ORM team have confirmed the SP name is generated from the table name not the entity name, fair enough but our database has 600+ tables, most are uppercase and they can't be changed. They don't think it's a bug although agree it needs to be improved.
I'm arguing it's a bug, am I been unfair ?
Any comments would be welcome.