How can I get the parameters in a SPCallDefinition in the same order than the called SP?
I can only get them in alphabetical order
SPCallDefinition currentSpCall;
var a = currentSpCall.Fields; // No luck
var b = currentSpCall.GetAllFieldsInElement(false); // No luck
var c = currentSpCall.GetAllMappableFields(); // No luck
SPCallMapping currentCallMapping = currentProject.GetGroupableModelElementMapping(currentSpCall, _executingGenerator.DriverID) as SPCallMapping;
var d = currentCallMapping.FieldMappings; // No luck
var originalSpParametersRightOrder = from DBStoredProcedureParameter f in currentCallMapping.MappedTarget.Fields
select f.ParameterName;
TIA