/// </summary>
 ///Query 方法 dt查询结果
 /// </summary>
 public System.Collections.IList Query(System.Data.DataTable dt)
 {
     System.Collections.IList result = new System.Collections.ArrayList();
     foreach (System.Data.DataRow dr in dt.Rows)
     {
         project.Entity.Order.EntityWorkOrderCost entity = new project.Entity.Order.EntityWorkOrderCost();
         entity.InnerEntityOID  = dr["RowPointer"].ToString();
         entity.AccID           = dr["AccID"].ToString();
         entity.CostNo          = dr["CostNo"].ToString();
         entity.OrderNo         = dr["OrderNo"].ToString();
         entity.OrderName       = dr["OrderName"].ToString();
         entity.OrderDate       = ParseDateTimeForString(dr["OrderDate"].ToString());
         entity.OrderStatus     = dr["OrderStatus"].ToString();
         entity.OrderStatusName = dr["OrderStatusName"].ToString();
         entity.CostDate        = ParseDateTimeForString(dr["CostDate"].ToString());
         entity.CostAmount      = ParseDecimalForString(dr["CostAmount"].ToString());
         entity.Status          = dr["Status"].ToString();
         entity.CreateDate      = ParseDateTimeForString(dr["CreateDate"].ToString());
         entity.CreateUser      = dr["CreateUser"].ToString();
         result.Add(entity);
     }
     return(result);
 }
 /// <summary>
 /// 带参数的构函数
 /// </summary>
 /// <param name="entity">实体类</param>
 public BusinessWorkOrderCost(project.Entity.Order.EntityWorkOrderCost entity)
 {
     this._entity = entity;
 }