当前位置: 首页>>代码示例>>C#>>正文


C# IPCommon.CMakeAndSelectCmd类代码示例

本文整理汇总了C#中IP.Core.IPCommon.CMakeAndSelectCmd的典型用法代码示例。如果您正苦于以下问题:C# CMakeAndSelectCmd类的具体用法?C# CMakeAndSelectCmd怎么用?C# CMakeAndSelectCmd使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


CMakeAndSelectCmd类属于IP.Core.IPCommon命名空间,在下文中一共展示了CMakeAndSelectCmd类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: US_GD_CAU_HOI_HOC_VIEN

 public US_GD_CAU_HOI_HOC_VIEN(decimal i_dbID)
 {
     pm_objDS = new DS_GD_CAU_HOI_HOC_VIEN();
     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]);
 }
开发者ID:anhphamkstn,项目名称:BKI_DVMC,代码行数:11,代码来源:US_GD_CAU_HOI_HOC_VIEN.cs

示例2: US_V_RPT_420_BC_TAI_CHINH_THEO_LOP_MON_HS

 public US_V_RPT_420_BC_TAI_CHINH_THEO_LOP_MON_HS(decimal i_dbID)
 {
     pm_objDS = new DS_V_RPT_420_BC_TAI_CHINH_THEO_LOP_MON_HS();
     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]);
 }
开发者ID:assassinadal,项目名称:bki-trung-tam-quoc-anh,代码行数:11,代码来源:US_V_RPT_420_BC_TAI_CHINH_THEO_LOP_MON_HS.cs

示例3: US_V_F320_THONG_TIN_CHI_TIET_DANH_SACH_HOP_DONG_DA_KY_THEO_THOI_GIAN

 public US_V_F320_THONG_TIN_CHI_TIET_DANH_SACH_HOP_DONG_DA_KY_THEO_THOI_GIAN(decimal i_dbID)
 {
     pm_objDS = new DS_V_F320_THONG_TIN_CHI_TIET_DANH_SACH_HOP_DONG_DA_KY_THEO_THOI_GIAN();
     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]);
 }
开发者ID:assassinadal,项目名称:BKIProject-DichVuMatDat,代码行数:11,代码来源:US_V_F320_THONG_TIN_CHI_TIET_DANH_SACH_HOP_DONG_DA_KY_THEO_THOI_GIAN.cs

示例4: US_V_F460_DANH_SACH_NHAN_VIEN_DANG_HOAT_DONG_O_CONG_TY

 public US_V_F460_DANH_SACH_NHAN_VIEN_DANG_HOAT_DONG_O_CONG_TY(decimal i_dbID)
 {
     pm_objDS = new DS_V_F460_DANH_SACH_NHAN_VIEN_DANG_HOAT_DONG_O_CONG_TY();
     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]);
 }
开发者ID:assassinadal,项目名称:BKIProject-DichVuMatDat,代码行数:11,代码来源:US_V_F460_DANH_SACH_NHAN_VIEN_DANG_HOAT_DONG_O_CONG_TY.cs

示例5: US_CM_DM_LOAI_TD

        public US_CM_DM_LOAI_TD(string i_strMaLoaiTD)
        {
            pm_objDS = new DS_CM_DM_LOAI_TD();
            pm_strTableName = c_TableName;

            System.Data.SqlClient.SqlCommand v_cmd = default(System.Data.SqlClient.SqlCommand);
            IMakeSelectCmd v_MakeSelCommand = default(IMakeSelectCmd);
            v_MakeSelCommand = new CMakeAndSelectCmd(pm_objDS, c_TableName);
            v_MakeSelCommand.AddCondition("MA_LOAI", i_strMaLoaiTD, eKieuDuLieu.KieuString, eKieuSoSanh.Bang);
            v_cmd = v_MakeSelCommand.getSelectCmd();

            this.FillDatasetByCommand(pm_objDS, v_cmd);
            pm_objDR = getRowClone(pm_objDS.Tables[pm_strTableName].Rows[0]);
        }
开发者ID:nguyendanhtu,项目名称:bki-quan-ly-du-toan,代码行数:14,代码来源:US_CM_DM_LOAI_TD.cs

示例6: isHaving_thong_tin_don_vi

 public bool isHaving_thong_tin_don_vi(decimal i_dbID_DON_VI)
 {
     pm_objDS = new DS_DM_THONG_TIN_DON_VI();
     pm_strTableName = c_TableName;
     IMakeSelectCmd v_objMkCmd = new CMakeAndSelectCmd(pm_objDS, c_TableName);
     v_objMkCmd.AddCondition("ID_DON_VI", i_dbID_DON_VI, eKieuDuLieu.KieuNumber, eKieuSoSanh.Bang);
     SqlCommand v_cmdSQL;
     v_cmdSQL = v_objMkCmd.getSelectCmd();
     this.FillDatasetByCommand(pm_objDS, v_cmdSQL);
     return (pm_objDS.Tables[0].Rows.Count != 0);
 }
开发者ID:nguyendanhtu,项目名称:bki-quan-ly-du-toan,代码行数:11,代码来源:US_DM_THONG_TIN_DON_VI.cs

示例7: InitByID_DON_VI

 public void InitByID_DON_VI(decimal i_dbID_DON_VI)
 {
     pm_objDS = new DS_DM_THONG_TIN_DON_VI();
     pm_strTableName = c_TableName;
     IMakeSelectCmd v_objMkCmd = new CMakeAndSelectCmd(pm_objDS, c_TableName);
     v_objMkCmd.AddCondition("ID_DON_VI", i_dbID_DON_VI, 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]);
 }
开发者ID:nguyendanhtu,项目名称:bki-quan-ly-du-toan,代码行数:11,代码来源:US_DM_THONG_TIN_DON_VI.cs

示例8: InitUSWithIDIsOK

 public bool InitUSWithIDIsOK(decimal ip_dc_id_don_vi)
 {
     pm_objDS = new DS_DM_DON_VI();
     pm_strTableName = c_TableName;
     IMakeSelectCmd v_objMkCmd = new CMakeAndSelectCmd(pm_objDS, c_TableName);
     v_objMkCmd.AddCondition("ID", ip_dc_id_don_vi, eKieuDuLieu.KieuNumber, eKieuSoSanh.Bang);
     SqlCommand v_cmdSQL;
     v_cmdSQL = v_objMkCmd.getSelectCmd();
     this.FillDatasetByCommand(pm_objDS, v_cmdSQL);
     if (pm_objDS.Tables[pm_strTableName].Rows.Count == 0) return false ;
     pm_objDR = getRowClone(pm_objDS.Tables[pm_strTableName].Rows[0]);
     return true;
 }
开发者ID:chutinhha,项目名称:bki-quan-ly-tai-san,代码行数:13,代码来源:US_DM_DON_VI.cs

示例9: FillDataset

        public void FillDataset(
            decimal ip_dc_don_vi_chu_quan
            , decimal ip_dc_trang_thai
            , DS_V_DM_OTO op_ds_v_oto)
        {
            IMakeSelectCmd v_obj_mak_cmd = new CMakeAndSelectCmd(op_ds_v_oto, this.pm_strTableName);

            v_obj_mak_cmd.AddCondition(
                V_DM_OTO.ID_DON_VI_SU_DUNG
                , ip_dc_don_vi_chu_quan
                , eKieuDuLieu.KieuNumber
                , eKieuSoSanh.Bang);
            v_obj_mak_cmd.AddCondition(
                    V_DM_OTO.ID_TRANG_THAI
                    , ip_dc_trang_thai
                    , eKieuDuLieu.KieuNumber
                    , eKieuSoSanh.Bang);
            SqlCommand v_obj_sql_cmd = v_obj_mak_cmd.getSelectCmd();
            v_obj_sql_cmd.CommandText += " ORDER BY " + V_DM_OTO.ID_LOAI_TAI_SAN;

            this.FillDatasetByCommand(op_ds_v_oto, v_obj_sql_cmd);
        }
开发者ID:chutinhha,项目名称:bki-quan-ly-tai-san,代码行数:22,代码来源:US_V_DM_OTO.cs

示例10: FillDatasetByGroupUserID

 public void FillDatasetByGroupUserID(decimal i_dc_group_user_id
     , DS_HT_PHAN_QUYEN_CHO_NHOM i_ds)
 {
     IMakeSelectCmd v_obj_mak_cmd = new CMakeAndSelectCmd(i_ds, i_ds.HT_PHAN_QUYEN_CHO_NHOM.TableName);
     v_obj_mak_cmd.AddCondition(HT_PHAN_QUYEN_CHO_NHOM.ID_USER_GROUP, i_dc_group_user_id, eKieuDuLieu.KieuNumber, eKieuSoSanh.Bang);
     this.FillDatasetByCommand(i_ds, v_obj_mak_cmd.getSelectCmd());
 }
开发者ID:phamngocphong,项目名称:BKI_DaoTaoNoiBo,代码行数:7,代码来源:US_HT_PHAN_QUYEN_CHO_NHOM.cs

示例11: FillDatasetByUserID

 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());
 }
开发者ID:anhphamkstn,项目名称:BKI_DVMC,代码行数:7,代码来源:US_HT_QUYEN_USER.cs

示例12: get_station_id_by_user

 public string get_station_id_by_user(decimal i_dc_user_id)
 {
     DS_DM_NGUOI_DUNG_STATION v_ds = new DS_DM_NGUOI_DUNG_STATION();
     IMakeSelectCmd v_obj_mak_cmd = new CMakeAndSelectCmd(v_ds, v_ds.DM_NGUOI_DUNG_STATION.TableName);
     v_obj_mak_cmd.AddCondition(DM_NGUOI_DUNG_STATION.ID_NGUOI_DUNG, i_dc_user_id, eKieuDuLieu.KieuNumber, eKieuSoSanh.Bang);
     this.FillDatasetByCommand(v_ds, v_obj_mak_cmd.getSelectCmd());
     if (v_ds.DM_NGUOI_DUNG_STATION.Rows.Count > 0)
         return CIPConvert.ToStr(v_ds.DM_NGUOI_DUNG_STATION[0][DM_NGUOI_DUNG_STATION.STATION_CODE]);
     else return "";
 }
开发者ID:anhphamkstn,项目名称:BKI_DVMC,代码行数:10,代码来源:US_DM_NGUOI_DUNG_STATION.cs


注:本文中的IP.Core.IPCommon.CMakeAndSelectCmd类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。