public static StockInfoRightTempStatusEntity[] DataTableToInfoEntitys(DataTable dt)
 {
     if (dt == null)
         return null;
     var results = new StockInfoRightTempStatusEntity[dt.Rows.Count];
     for (int i = 0; i < dt.Rows.Count; i++)
     {
         results[i] = StockRightTempService.DataRowToInfoEntity(dt.Rows[i]);
     }
     return results;
 }
 public static StockInfoRightTempStatusEntity DataRowToInfoEntity(DataRow row)
 {
     if (row == null)
         return null;
     var result = new StockInfoRightTempStatusEntity();
     var entity = StockRightTempService.DataRowToEntity(row);
     FengSharp.Tool.Reflect.ClassValueCopier.Copy(result, entity);
     result.StockNo = (string)row["StockNo"];
     result.StockName = (string)row["StockName"];
     result.Status = (bool)row["Status"];
     return result;
 }