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

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

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

            return(coll);
        }