BKI_DichVuMatDat.US.US_GD_HE_SO_LNS.KiemTraThoiGianVoiLuongCungHopLeForUpdate C# (CSharp) Method

KiemTraThoiGianVoiLuongCungHopLeForUpdate() public method

public KiemTraThoiGianVoiLuongCungHopLeForUpdate ( decimal ip_dc_id_gd_he_so_lns, System.DateTime ip_dat_tu_ngay, System.DateTime ip_dat_den_ngay ) : bool
ip_dc_id_gd_he_so_lns decimal
ip_dat_tu_ngay System.DateTime
ip_dat_den_ngay System.DateTime
return bool
        public bool KiemTraThoiGianVoiLuongCungHopLeForUpdate(decimal ip_dc_id_gd_he_so_lns, DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay)
        {
            CStoredProc v_cstore = new CStoredProc("pr_LNS_kiem_tra_thoi_gian_hop_le_voi_luong_cung_ForUpdate");
            v_cstore.addDecimalInputParam("@ip_dc_id_gd_he_so_lns", ip_dc_id_gd_he_so_lns);
            v_cstore.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
            v_cstore.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);

            SqlParameter v_yn = v_cstore.addNVarcharOutputParam("@op_str_hop_le_yn", "");
            v_cstore.ExecuteCommand(this);

            return v_yn.Value.ToString() == "Y" ? true : false;
        }