public ShowRoles(int show_Role_ID) { ShowRolesBL showRoles = new ShowRolesBL(); lkpShowRoles = showRoles.GetShow_RolesByShow_Role_ID(show_Role_ID); Show_Role_ID = show_Role_ID; Description = lkpShowRoles[0].Show_Role_Description; }
public ShowRoles(string connString) { _connString = connString; try { ShowRolesBL showRoles = new ShowRolesBL(_connString); lkpShowRoles = showRoles.GetShow_Roles(); } catch (Exception ex) { throw ex; } }
public ShowRoles(string connString, int show_Role_ID) { _connString = connString; try { ShowRolesBL showRoles = new ShowRolesBL(_connString); lkpShowRoles = showRoles.GetShow_RolesByShow_Role_ID(show_Role_ID); DataRow row = lkpShowRoles.Rows[0]; _show_Role_ID = show_Role_ID; _description = Utils.DBNullToString(row["Show_Role_Description"]); } catch (Exception ex) { throw ex; } }
public ShowRoles() { ShowRolesBL showRoles = new ShowRolesBL(); lkpShowRoles = showRoles.GetShow_Roles(); }