예제 #1
0
        public DmucGoikhamCollection FetchByQuery(Query qry)
        {
            DmucGoikhamCollection coll = new DmucGoikhamCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public DmucGoikhamCollection FetchAll()
        {
            DmucGoikhamCollection coll = new DmucGoikhamCollection();
            Query qry = new Query(DmucGoikham.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public DmucGoikhamCollection FetchByID(object IdGoi)
        {
            DmucGoikhamCollection coll = new DmucGoikhamCollection().Where("id_goi", IdGoi).Load();

            return(coll);
        }