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

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

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

            return(coll);
        }