예제 #1
0
 public SqlInt32 GetFlatIndex(SqlInt32Array indices)
 {
     return(!indices.IsNull ? new SqlInt32(_arrayInfo.CalcFlatIndex(indices.Array.Enumerate(0, indices.Length.Value).Select(t => t.Value).ToArray())) : SqlInt32.Null);
 }
예제 #2
0
 public SqlHourAngle GetDimItem(SqlInt32Array indices)
 {
     return(!indices.IsNull ? _arrayInfo.GetValue <HourAngle?>(indices.Array.Enumerate(0, indices.Length.Value).Select(t => t.Value).ToArray()).With(v => v.HasValue ? new SqlHourAngle(v.Value) : SqlHourAngle.Null) : SqlHourAngle.Null);
 }
예제 #3
0
 public SqlInt32 GetDimItem(SqlInt32Array indices)
 {
     return(!indices.IsNull ? _arrayInfo.GetValue <Int32?>(indices.Array.Enumerate(0, indices.Length.Value).Select(t => t.Value).ToArray()).With(v => v.HasValue ? v.Value : SqlInt32.Null) : SqlInt32.Null);
 }