Esempio n. 1
0
        public GotEquipInfoDataTable GetGotEquipInfoByLocationIdMemberId(Int64 workingNoParam,
                                                                         Int64 memberIdParam)
        {
            GotEquipInfoDataTable tbl = null;

            string filter = string.Format("WorkingNo = {0} AND MemberID = {1}",
                                          workingNoParam,
                                          memberIdParam);

            DataRow[] selectRows = this.GotEquipInfo.Select(filter);

            if (null != selectRows && 0 != selectRows.Length)
            {
                tbl = new GotEquipInfoDataTable();

                foreach (GotEquipInfoRow row in selectRows)
                {
                    tbl.ImportRow(row);
                }
            }

            return(tbl);
        }
		public GotEquipInfoDataTable GetGotEquipInfoByLocationIdMemberId(Int64 workingNoParam,
																		 Int64 memberIdParam)
		{
			GotEquipInfoDataTable tbl = null;

			string filter = string.Format("WorkingNo = {0} AND MemberID = {1}",
										  workingNoParam,
										  memberIdParam);
			DataRow[] selectRows = this.GotEquipInfo.Select(filter);

			if (null != selectRows && 0 != selectRows.Length)
			{
				tbl = new GotEquipInfoDataTable();

				foreach (GotEquipInfoRow row in selectRows)
				{
					tbl.ImportRow(row);
				}
			}

			return tbl;
		}