Exemplo n.º 1
0
 internal static T GetExtendedProperty <T>(this DataColumn column, string extendedProperty)
 {
     return(column.GetExtendedProperty(extendedProperty, default(T)));
 }
Exemplo n.º 2
0
 public static string[] GetNotes(this DataColumn column)
 {
     return(column.GetExtendedProperty(EXTENDED_PROPERTY_NOTES, new string[] {}));
 }
Exemplo n.º 3
0
 public static TableWriter.ColumnAlignments?GetAlignment(this DataColumn column)
 {
     return(column.GetExtendedProperty <TableWriter.ColumnAlignments?>(EXTENDED_PROPERTY_ALIGNMENT, null));
 }
Exemplo n.º 4
0
 public static bool IsHidden(this DataColumn column)
 {
     return(column.GetExtendedProperty <bool>(EXTENDED_PROPERTY_HIDDEN));
 }
Exemplo n.º 5
0
 public static string GetUnit(this DataColumn column)
 {
     return(column.GetExtendedProperty <string>(EXTENDED_PROPERTY_UNIT));
 }