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;
var b = currentSpCall.GetAllFieldsInElement(false);
var c = currentSpCall.GetAllMappableFields();
SPCallMapping currentCallMapping = currentProject.GetGroupableModelElementMapping(currentSpCall, _executingGenerator.DriverID) as SPCallMapping;
var d = currentCallMapping.FieldMappings;
var originalSpParametersRightOrder = from DBStoredProcedureParameter f in currentCallMapping.MappedTarget.Fields
select f.ParameterName;
TIA