Example #1
0
        public KcbLoghuyCollection FetchByQuery(Query qry)
        {
            KcbLoghuyCollection coll = new KcbLoghuyCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public KcbLoghuyCollection FetchAll()
        {
            KcbLoghuyCollection coll = new KcbLoghuyCollection();
            Query qry = new Query(KcbLoghuy.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public KcbLoghuyCollection FetchByID(object Id)
        {
            KcbLoghuyCollection coll = new KcbLoghuyCollection().Where("Id", Id).Load();

            return(coll);
        }