private static CompanyCMEntity[] DataTableToEntitys1(DataTable dt)
 {
     if (dt == null)
         return null;
     var results = new CompanyCMEntity[dt.Rows.Count];
     for (int i = 0; i < dt.Rows.Count; i++)
     {
         results[i] = CompanyService.DataRowToEntity1(dt.Rows[i]);
     }
     return results;
 }
 private static CompanyCMEntity DataRowToEntity1(DataRow row)
 {
     if (row == null)
         return null;
     var result = new CompanyCMEntity();
     var entity = DataRowToEntity(row);
     FengSharp.Tool.Reflect.ClassValueCopier.Copy(result, entity);
     result.CreateName = row["CreateName"].ToString();
     result.LastModifyName = row["LastModifyName"].ToString();
     return result;
 }