///
/// - s? - String, variable length (?=1-255)
/// - s0 - String, variable length
/// - i2 - Short integer
/// - i4 - Long integer
/// - v0 - Binary Stream
/// - g? - Temporary string (?=0-255)
/// - j? - Temporary integer (?=0,1,2,4)
/// - O0 - Temporary object (stream)
/// - l? - Localizable string, variable length (?=1-255)
/// - l0 - Localizable string, variable length
///
///
public string ColumnDefinitionString
{
get
{
char t;
if (this.type == typeof(Int16) || this.type == typeof(Int32))
{
t = (this.isTemporary ? 'j' : 'i');
}
else if (this.type == typeof(String))
{
t = (this.isTemporary ? 'g' : this.isLocalizable ? 'l' : 's');
}
else
{
t = (this.isTemporary ? 'O' : 'v');
}
return String.Format(
CultureInfo.InvariantCulture,
"{0}{1}",
(this.isRequired ? t : Char.ToUpper(t, CultureInfo.InvariantCulture)),
this.size);
}
}
///