/// <summary>
 ///     DataSet包装
 /// </summary>
 /// <param name="set"></param>
 private void FromPackage(DataSet set)
 {
     if (set.Tables.Count != 0)
     {
         using (var TmphBuilder = new TmphDataWriter())
         {
             _tables = set.Tables.toGeneric<DataTable>().getArray(table => TmphDataTable.From(table, TmphBuilder));
             _data = TmphBuilder.Get();
         }
     }
     _name = set.DataSetName;
 }
 /// <summary>
 ///     获取数据源
 /// </summary>
 /// <returns></returns>
 public TmphDataSource Get()
 {
     var value = new TmphDataSource();
     value.Data = _stream.GetArray();
     value.Strings = _strings.ToArray();
     value.Bytes = _bytes.ToArray();
     return value;
 }