コード例 #1
0
        public JoinObjectParameter(List<string> objectname, List<DieuKienParameter> conname)
        {
            Joining = objectname[0];
            JoinCondition = conname[0];
            NumberOfItem = objectname.Count;

            for (int i = 1; i < objectname.Count; i++)
            {
                List<string> tmpobname = new List<string>();
                List<DieuKienParameter> tmpcon = new List<DieuKienParameter>();

                for (int j = i; j < objectname.Count; j++)
                {
                    tmpobname.Add(objectname[j]);
                    tmpcon.Add(conname[j]);
                }

                Joined = new JoinObjectParameter(tmpobname, tmpcon);
            }
        }