//取得存储过程参数 public string GetProcConstructorParameters(SchemaExplorer.CommandSchema param) { string res = ""; foreach (ParameterSchema perameter in param.InputParameters) { res += GetCSharpVariableTypeProc(perameter) + " " + GetCamelCaseName(perameter.Name.Substring(1, perameter.Name.Length - 1)) + ",\n\t\t\t"; } return(res.Substring(0, res.Length - 5)); }
public string GetProcAssignValue(SchemaExplorer.CommandSchema param) { string res = ""; foreach (ParameterSchema perameter in param.InputParameters) { res += GetMemberVariableNameProc(perameter) + "=" + GetCamelCaseName(perameter.Name.Substring(1, perameter.Name.Length - 1)) + ";\n\t\t\t"; } return(res); }