public DDModuleCollection FetchByQuery(Query qry) { DDModuleCollection coll = new DDModuleCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDModuleCollection FetchAll() { DDModuleCollection coll = new DDModuleCollection(); Query qry = new Query(DDModule.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDModuleCollection FetchByID(object ModuleID) { DDModuleCollection coll = new DDModuleCollection().Where("ModuleID", ModuleID).Load(); return(coll); }