public bool Delete(EL.Registrations.Categories categoryEL) { return(CategoryDL.Delete(categoryEL)); }
public long Insert(EL.Registrations.Categories categoryEL) { return(CategoryDL.Insert(categoryEL)); }
public bool Delete(EL.Registrations.Categories categoryEL) { return(Helper.executeNonQueryBool("delete from categories where categoryid = '" + categoryEL.Categoryid + "' ")); }
public bool Update(EL.Registrations.Categories categoryEL) { return(Helper.executeNonQueryBool("update categories set categoryname = '" + categoryEL.Categoryname + "' where categoryid = '" + categoryEL.Categoryid + "' ")); }
public long Insert(EL.Registrations.Categories categoryEL) { return(Helper.executeNonQueryLong("insert into categories (categoryname) values ('" + categoryEL.Categoryname + "')")); }
private void loaddata() { CategoryInfo = new pos.EL.Registrations.Categories(); dtCategories.DataSource = CategoryBL.List(CategoryInfo); }