Type GetArrayType (int ident)
{
switch (ident) {
case BF.Bool:
return typeof (bool);
case BF.Int16:
return typeof (short);
case BF.Int32:
return typeof (int);
case BF.Int64:
return typeof (long);
case BF.Single:
return typeof (float);
case BF.Double:
return typeof (double);
case BF.Decimal:
return typeof (decimal);
case BF.DateTime:
return typeof (DateTime);
case BF.TimeSpan:
return typeof (TimeSpan);
case BF.Guid:
return typeof (Guid);
}
return null;
}