public bool KiemTraThoiGianHopDongHopLeForInsert(decimal ip_dc_id_nhan_vien, DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay)
{
CStoredProc v_cstore = new CStoredProc("pr_HD_du_lieu_hop_dong_hop_le_CheckInsert");
v_cstore.addDecimalInputParam("@ip_dc_id_nhan_vien", ip_dc_id_nhan_vien);
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;
}