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