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

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

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

            return(coll);
        }