public virtual void AddSetOfValues(ArrayValueNode valueNode) { var param = new ArrayDacParameter(GetNextParameterName(), valueNode.MemberDataType, valueNode.MemberDataTypeCode, valueNode.Value); Params.Add(param); AddValue(string.Concat("(select [Value] from ", param.Name, ")")); }
protected virtual void OnVisitParam(ArrayDacParameter param, StringBuilder content) { content.Append(param.Name); content.Append("=["); var values = (object[])param.Value; foreach (var value in values) { content.Append(SisoEnvironment.StringConverter.AsString(value)); content.Append(","); } content.Append("]"); }