public SettingCollection FetchByQuery(Query qry) { SettingCollection coll = new SettingCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SettingCollection FetchAll() { SettingCollection coll = new SettingCollection(); Query qry = new Query(Setting.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SettingCollection FetchByID(object PercentageThreashold) { SettingCollection coll = new SettingCollection().Where("Percentage_Threashold", PercentageThreashold).Load(); return(coll); }