Exemplo n.º 1
0
        /// </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.Base.EntityFlowDetail entity = new project.Entity.Base.EntityFlowDetail();
                entity.InnerEntityOID = dr["RowPointer"].ToString();
                entity.NodeNo         = dr["NodeNo"].ToString();
                entity.NodeName       = dr["NodeName"].ToString();
                entity.AccID          = dr["AccID"].ToString();
                entity.FlowNo         = dr["FlowNo"].ToString();

                result.Add(entity);
            }
            return(result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 带参数的构函数
 /// </summary>
 /// <param name="entity">实体类</param>
 public BusinessFlowDetail(project.Entity.Base.EntityFlowDetail entity)
 {
     this._entity = entity;
 }