Exemplo n.º 1
0
        public SettingCollection FetchByQuery(Query qry)
        {
            SettingCollection coll = new SettingCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public SettingCollection FetchAll()
        {
            SettingCollection coll = new SettingCollection();
            Query             qry  = new Query(Setting.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public SettingCollection FetchByID(object PercentageThreashold)
        {
            SettingCollection coll = new SettingCollection().Where("Percentage_Threashold", PercentageThreashold).Load();

            return(coll);
        }