Store count attribue in ComputeSize.

Also remove the COMPSIZE() text if present.
This commit is contained in:
Fraser Waters 2014-03-10 22:13:26 +00:00
parent 7cdd880759
commit 0c89435add

View file

@ -313,6 +313,14 @@ namespace Bind
}
}
p.ComputeSize = param.GetAttribute("count", String.Empty).Trim();
if (p.ComputeSize.StartsWith("COMPSIZE"))
{
//remove the compsize hint, just keep comma delimited param names
var len = "COMPSIZE(".Length;
p.ComputeSize = p.ComputeSize.Substring(len, (p.ComputeSize.Length - len) - 1);
}
p.Flow = Parameter.GetFlowDirection(param.GetAttribute("flow", String.Empty).Trim());
d.Parameters.Add(p);