Beispiel #1
0
 public static Transpose.DataColumn Serialize(IDataReader reader)
 {
     //DataTable table = new DataTable();
     //for (int i = 0; i < reader.FieldCount; i++)
     //{
     //    table.Columns.Add(reader.GetName(i), reader.GetFieldType(i));
     //}
     return(ShiboPivotSerializer.Serialize(reader));
 }
Beispiel #2
0
 public static Transpose.DataColumn[] ToColumns(object value, bool useCache = true)
 {
     return(ShiboPivotSerializer.Serialize(value, useCache));
 }