Esempio n. 1
0
        public void AddRange(SqlInt32Collection coll)
        {
            if (coll.IsNull)
            {
                return;
            }

            _list.AddRange(coll._list);
        }
Esempio n. 2
0
        public void SetRange(SqlInt32 index, SqlInt32Collection range)
        {
            if (range.IsNull)
            {
                return;
            }

            int indexValue = index.IsNull ? _list.Count - Comparable.Min(_list.Count, range._list.Count) : index.Value;

            _list.SetRange(indexValue, range.List);
        }
Esempio n. 3
0
        public void InsertRange(SqlInt32 index, SqlInt32Collection coll)
        {
            if (coll.IsNull)
            {
                return;
            }

            int indexValue = !index.IsNull ? index.Value : _list.Count;

            _list.InsertRange(indexValue, coll._list);
        }