示例#1
0
        public void AddRange(SqlSingleCollection coll)
        {
            if (coll.IsNull)
            {
                return;
            }

            _list.AddRange(coll._list);
        }
示例#2
0
        public void SetRange(SqlInt32 index, SqlSingleCollection 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);
        }
示例#3
0
        public void InsertRange(SqlInt32 index, SqlSingleCollection coll)
        {
            if (coll.IsNull)
            {
                return;
            }

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

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