public static E_PersonLevel ePersonLevelDuplicate() { E_PersonLevel oEPersonLevel = new E_PersonLevel(); oEPersonLevel.setId_Level("0001"); oEPersonLevel.setLevel_Description("GENERAL"); oEPersonLevel.setLevel_Status(true); oEPersonLevel.setLevel_CreateBy("psalas"); oEPersonLevel.setLevel_DateBy(DateTime.Today.ToString()); return(oEPersonLevel); }
public static E_PersonLevel ePersonLevelNotDuplicate() { E_PersonLevel oEPersonLevel = new E_PersonLevel(); oEPersonLevel.setId_Level("TEST"); oEPersonLevel.setLevel_Description("TEST DESCRIPTION"); oEPersonLevel.setLevel_Status(true); oEPersonLevel.setLevel_CreateBy("psalas"); oEPersonLevel.setLevel_DateBy(DateTime.Today.ToString()); return(oEPersonLevel); }
protected void Page_Load(object sender, EventArgs e) { /*DModulo moduloDao = new DModulo(); * List<String> list = new List<String>() { "AD","AUD","BBOX" }; * moduloDao.moduloLstGetByIds(list);*/ /*DModulo moduloDao = new DModulo(); * moduloDao.moduloCmb();*/ /*I_BL_Modulo oBL_Modulo = new BL_ModuloImpl(); * oBL_Modulo.moduloCmb();*/ E_PersonLevel oEPersonLevel = new E_PersonLevel(); oEPersonLevel.setId_Level("TEST"); oEPersonLevel.setLevel_Description("TEST LEVEL"); oEPersonLevel.setLevel_Status(true); oEPersonLevel.setLevel_CreateBy("psalas"); oEPersonLevel.setLevel_DateBy(DateTime.Today.ToString()); I_DaoPersonLevel oDaoPersonLevel = new DaoPersonLevelImpl(); oDaoPersonLevel.personLevelIns(oEPersonLevel); }