示例#1
0
 public US_HT_QUYEN_USER(decimal i_dbID)
 {
     pm_objDS = new DS_HT_QUYEN_USER();
     pm_strTableName = c_TableName;
     IMakeSelectCmd v_objMkCmd = new CMakeAndSelectCmd(pm_objDS, c_TableName);
     v_objMkCmd.AddCondition("ID", i_dbID, eKieuDuLieu.KieuNumber, eKieuSoSanh.Bang);
     SqlCommand v_cmdSQL;
     v_cmdSQL = v_objMkCmd.getSelectCmd();
     this.FillDatasetByCommand(pm_objDS, v_cmdSQL);
     pm_objDR = getRowClone(pm_objDS.Tables[pm_strTableName].Rows[0]);
 }
示例#2
0
 public US_HT_QUYEN_USER()
 {
     pm_objDS = new DS_HT_QUYEN_USER();
     pm_strTableName = c_TableName;
     pm_objDR = pm_objDS.Tables[pm_strTableName].NewRow();
 }
示例#3
0
 public void FillDatasetByUserID(decimal i_dc_user_id
     , DS_HT_QUYEN_USER i_ds)
 {
     IMakeSelectCmd v_obj_mak_cmd = new CMakeAndSelectCmd(i_ds, i_ds.HT_QUYEN_USER.TableName);
     v_obj_mak_cmd.AddCondition("ID_USER", i_dc_user_id, eKieuDuLieu.KieuNumber, eKieuSoSanh.Bang);
     this.FillDatasetByCommand(i_ds, v_obj_mak_cmd.getSelectCmd());
 }