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

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

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

            return(coll);
        }