using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CoreSavingLibrary { public enum iReportArgumentType { String = 0, Integer = 1, Long = 2, Float = 3, Double = 4, Date = 5, Time = 6, SELECT = 7 } public class iReportArgument { public List argName; public List argType; public List argValue; public iReportArgument() { argName = new List(); argType = new List(); argValue = new List(); } public iReportArgument(String sqlSyntaxFull) { argName = new List(); argType = new List(); argValue = new List(); this.Add("SELECT", iReportArgumentType.SELECT, sqlSyntaxFull); } public void Add(String name, iReportArgumentType type, object value) { argName.Add(name); argType.Add(type); argValue.Add(value); } } }