public override void GetData()
        {
            ConditionForPackage();
            string query = string.Empty, queryMaster = string.Empty;

            this.GetQuery(ref queryMaster, ref query);
            DsData = DbData.GetDataSetMasterDetail(queryMaster, query);

            if (DsData == null)
            {
                return;
            }
            string     fkName = _drTableMaster["Pk"].ToString();
            DataColumn pk     = DsData.Tables[0].Columns[fkName];
            DataColumn fk     = DsData.Tables[1].Columns[fkName];

            if (pk != null && fk != null)
            {
                DataRelation dr = new DataRelation(_drTable["TableName"].ToString(), pk, fk, true);
                DsData.Relations.Add(dr);
            }

            _dsDataTmp = DsData.Copy();
        }