public List <Product> GetAllFromProduct() { ISelectionFactory <NullableIdentity> selectionFactory = new GetAllFromProductSelectionFactory(); try { NullableIdentity nullableIdentity = new NullableIdentity(); return(base.Find(selectionFactory, new GetAllFromProductFactory(), nullableIdentity)); } catch (DbException ex) { } return(new List <Product>()); }
public List <NgTsUser> GetAllFromNgTsUser() { ISelectionFactory <NullableIdentity> selectionFactory = new GetAllFromNgTsUserSelectionFactory(); try { NullableIdentity nullableIdentity = new NullableIdentity(); return(base.Find(selectionFactory, new GetAllFromNgTsUserFactory(), nullableIdentity)); } catch (DbException ex) { } return(new List <NgTsUser>()); }
public List <Buzzword> GetAllFrombuzzwords() { ISelectionFactory <NullableIdentity> selectionFactory = new GetAllFrombuzzwordsSelectionFactory(); try { NullableIdentity nullableIdentity = new NullableIdentity(); return(base.Find(selectionFactory, new GetAllFrombuzzwordsFactory(), nullableIdentity)); } catch (SqlException ex) { HandleSqlException(ex, selectionFactory); } return(new List <Buzzword>()); }