I want to create 2 methods with the same name, same return type, but different parameters.
When I attempted this using the Model the following happened:
- No error message was immediately generated when adding the second method to the model.
- The second method did not appear in the GUI for the Model.
- Both methods do appear in the XML file generated by the Model.
- When I attempt to build the model I got the following error message:
Error 1 CF0075: Procedure '_PR01_PayrollEmployeeFile_LoadBySocialSecurityNumber' for method 'LoadBySocialSecurityNumber(System.String socialSecurityNumber, System.String companyCode)' with body 'LOAD(string socialSecurityNumber, string companyCode) RAW' already exists. Try to change method name or method persistenceName. 0 0 Amikids.DataProWarehouse.Model