This question is locked. New answers and comments are not allowed.
I have a question about stored procedure naming through the Stored Procedure Editor vs the name created by the code generator.
If I have a stored procedure called, let's say, pSYN_GetSynthesisMenu. I wish to access that stored procedure via the domain method called "dboGetSynthesisMenu".
I have the following parameters to the Stored Procedure Editor:
Function Name: dboGetSynthesisMenu
Stored Procedures: 'pSYN_GetSynthesisMenu'
Results Sets: ResultSet0(default)
The Domain Method is listed, as expected, as dboGetSynthesisMenu
The generated code is:
public
IEnumerable<
object
> PSYNGetSynthesisMenu(
string
groupName)
{
OAParameter parameterGroupName =
new
OAParameter();
parameterGroupName.ParameterName =
"groupName"
;
parameterGroupName.Value = groupName;
IEnumerable<
object
> queryResult =
this
.ExecuteQuery<
object
>(
"'pSYN_GetSynthesisMenu'"
, CommandType.StoredProcedure, parameterGroupName);
return
queryResult;
}
I would have expected the generated code to create a public method dboGetSynthesisMenu. Is this a bug, or am I doing something wrong?
Thanks
Rich