/// </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.Op.EntityOrderFeeReceiver entity = new project.Entity.Op.EntityOrderFeeReceiver(); entity.RowPointer = dr["RowPointer"].ToString(); entity.RefRP = dr["RefRP"].ToString(); entity.ODPaidAmount = ParseDecimalForString(dr["ODPaidAmount"].ToString()); entity.ODPaidDate = ParseDateTimeForString(dr["ODPaidDate"].ToString()); entity.ODFeeReceiver = dr["ODFeeReceiver"].ToString(); entity.ODFeeReceiveRemark = dr["ODFeeReceiveRemark"].ToString(); entity.ODCreator = dr["ODCreator"].ToString(); entity.ODCreateDate = ParseDateTimeForString(dr["ODCreateDate"].ToString()); entity.ODLastReviser = dr["ODLastReviser"].ToString(); entity.ODLastRevisedDate = ParseDateTimeForString(dr["ODLastRevisedDate"].ToString()); entity.ODPaidType = dr["ODPaidType"].ToString(); entity.ODPaidBank = dr["ODPaidBank"].ToString(); result.Add(entity); } return(result); }
/// <summary> /// 带参数的构函数 /// </summary> /// <param name="entity">实体类</param> public BusinessOrderFeeReceiver(project.Entity.Op.EntityOrderFeeReceiver entity) { this._entity = entity; }