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