public WorkQueueTypeEnumCollection FetchAll() { var coll = new WorkQueueTypeEnumCollection(); var qry = new Query(WorkQueueTypeEnum.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public WorkQueueTypeEnumCollection FetchByQuery(Query qry) { var coll = new WorkQueueTypeEnumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public WorkQueueTypeEnumCollection FetchByID(object EnumX) { WorkQueueTypeEnumCollection coll = new WorkQueueTypeEnumCollection().Where("Enum", EnumX).Load(); return coll; }