Пример #1
0
        public SettingCollection FetchByQuery(Query qry)
        {
            SettingCollection coll = new SettingCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public SettingCollection FetchAll()
        {
            SettingCollection coll = new SettingCollection();
            Query             qry  = new Query(Setting.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public SettingCollection FetchByID(object SettingID)
        {
            SettingCollection coll = new SettingCollection().Where("SettingID", SettingID).Load();

            return(coll);
        }