/// <summary>
 ///     DataSet包装
 /// </summary>
 /// <param name="set"></param>
 /// <returns></returns>
 public static TmphDataSet From(DataSet set)
 {
     if (set == null) return null;
     var value = new TmphDataSet();
     value.FromPackage(set);
     return value;
 }
 /// <summary>
 ///     DataSet拆包
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public static DataSet Get(TmphDataSet value)
 {
     if (value == null) return null;
     var set = new DataSet(value._name);
     try
     {
         value.set(set);
         return set;
     }
     catch (Exception error)
     {
         set.Dispose();
         TmphLog.Error.Add(error, null, false);
     }
     return null;
 }