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

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

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

            return(coll);
        }