public void SetItem(SqlHourAngle value, SqlInt32 index) { if (!index.IsNull) { _array[index.Value] = !value.IsNull ? value.Value : default(HourAngle?); } }
public void SetRepeat(SqlInt32 index, SqlHourAngle value, SqlInt32 count) { int indexValue = !index.IsNull ? index.Value : count.IsNull ? 0 : _list.Count - count.Value; int countValue = !count.IsNull ? count.Value : index.IsNull ? 0 : _list.Count - index.Value; _list.SetRepeat(indexValue, value.IsNull ? default(HourAngle?) : value.Value, countValue); }
public void FillRange(SqlHourAngle 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(HourAngle?), indexValue, countValue); }
public void SetDimItem(SqlHourAngle value, SqlInt32Array indices) { if (!indices.IsNull) { _arrayInfo.SetValue <HourAngle?>(_array, !value.IsNull ? value.Value : default(HourAngle?), indices.Array.Enumerate(0, indices.Length.Value).Select(t => t.Value).ToArray()); } }
public void Accumulate(SqlHourAngle input) { if (_list != null) { _list.Add(!input.IsNull ? input.Value : default(HourAngle?)); } }
public void AddRepeat(SqlHourAngle value, SqlInt32 count) { if (count.IsNull) { return; } _list.AddRepeat(value.IsNull ? default(HourAngle?) : value.Value, count.Value); }
public void SetItem(SqlInt32 index, SqlHourAngle value) { if (index.IsNull) { return; } _list[index.Value] = value.IsNull ? default(HourAngle?) : value.Value; }
public void SetFlatItem(SqlHourAngle value, SqlInt32 index) { if (!index.IsNull) { new ArrayIndex(_arrayInfo) { FlatIndex = index.Value } }
public void InsertRepeat(SqlInt32 index, SqlHourAngle value, SqlInt32 count) { if (count.IsNull) { return; } int indexValue = !index.IsNull ? index.Value : _list.Count; _list.InsertRepeat(indexValue, value.IsNull ? default(HourAngle?) : value.Value, count.Value); }
public void RemoveItem(SqlHourAngle value) { _list.Remove(value.IsNull ? default(HourAngle?) : value.Value); }
public void InsertItem(SqlInt32 index, SqlHourAngle value) { _list.Insert(index.IsNull ? _list.Count : index.Value, value.IsNull ? default(HourAngle?) : value.Value); }
public void AddItem(SqlHourAngle value) { _list.Add(value.IsNull ? default(HourAngle?) : value.Value); }
public static SqlHourAngleCollection Parse(SqlString s) { if (s.IsNull) { return(Null); } return(new SqlHourAngleCollection(SqlFormatting.ParseCollection <HourAngle?>(s.Value, t => !t.Equals(SqlFormatting.NullText, StringComparison.InvariantCultureIgnoreCase) ? SqlHourAngle.Parse(t).Value : default(HourAngle?)))); }