Exemple #1
0
 public void SetItem(SqlSexagesimalAngle value, SqlInt32 index)
 {
     if (!index.IsNull)
     {
         _array[index.Value] = !value.IsNull ? value.Value : default(SexagesimalAngle?);
     }
 }
Exemple #2
0
        public void FillRange(SqlSexagesimalAngle value, SqlInt32 index, SqlInt32 count)
        {
            int indexValue = !index.IsNull ? index.Value : count.IsNull ? 0 : _array.Length - count.Value;
            int countValue = !count.IsNull ? count.Value : index.IsNull ? 0 : _array.Length - index.Value;

            _array.Fill(!value.IsNull ? value.Value : default(SexagesimalAngle?), indexValue, countValue);
        }
Exemple #3
0
 public void Accumulate(SqlSexagesimalAngle input)
 {
     if (_list != null)
     {
         _list.Add(!input.IsNull ? input.Value : default(SexagesimalAngle?));
     }
 }
        public void AddRepeat(SqlSexagesimalAngle value, SqlInt32 count)
        {
            if (count.IsNull)
            {
                return;
            }

            _list.AddRepeat(value.IsNull ? default(SexagesimalAngle?) : value.Value, count.Value);
        }
        public void SetItem(SqlInt32 index, SqlSexagesimalAngle value)
        {
            if (index.IsNull)
            {
                return;
            }

            _list[index.Value] = value.IsNull ? default(SexagesimalAngle?) : value.Value;
        }
 public void SetFlatItem(SqlSexagesimalAngle value, SqlInt32 index)
 {
     if (!index.IsNull)
     {
         new ArrayIndex(_arrayInfo)
         {
             FlatIndex = index.Value
         }
     }
        public void InsertRepeat(SqlInt32 index, SqlSexagesimalAngle value, SqlInt32 count)
        {
            if (count.IsNull)
            {
                return;
            }

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

            _list.InsertRepeat(indexValue, value.IsNull ? default(SexagesimalAngle?) : value.Value, count.Value);
        }
 public void RemoveItem(SqlSexagesimalAngle value)
 {
     _list.Remove(value.IsNull ? default(SexagesimalAngle?) : value.Value);
 }
 public void InsertItem(SqlInt32 index, SqlSexagesimalAngle value)
 {
     _list.Insert(index.IsNull ? _list.Count : index.Value, value.IsNull ? default(SexagesimalAngle?) : value.Value);
 }
 public void AddItem(SqlSexagesimalAngle value)
 {
     _list.Add(value.IsNull ? default(SexagesimalAngle?) : value.Value);
 }
        public static SqlSexagesimalAngleCollection Parse(SqlString s)
        {
            if (s.IsNull)
            {
                return(Null);
            }

            return(new SqlSexagesimalAngleCollection(SqlFormatting.ParseCollection <SexagesimalAngle?>(s.Value,
                                                                                                       t => !t.Equals(SqlFormatting.NullText, StringComparison.InvariantCultureIgnoreCase) ? SqlSexagesimalAngle.Parse(t).Value : default(SexagesimalAngle?))));
        }