Exemplo n.º 1
0
        public void AddRange(SqlBigIntegerCollection coll)
        {
            if (coll.IsNull)
            {
                return;
            }

            _list.AddRange(coll._list);
        }
Exemplo n.º 2
0
        public void SetRange(SqlInt32 index, SqlBigIntegerCollection 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);
        }
Exemplo n.º 3
0
        public void InsertRange(SqlInt32 index, SqlBigIntegerCollection coll)
        {
            if (coll.IsNull)
            {
                return;
            }

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

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