public WorkQueuePriorityEnumCollection FetchAll() { var coll = new WorkQueuePriorityEnumCollection(); var qry = new Query(WorkQueuePriorityEnum.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public WorkQueuePriorityEnumCollection FetchByQuery(Query qry) { var coll = new WorkQueuePriorityEnumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }