Пример #1
0
 public AlertLevelEnumCollection FetchAll()
 {
     var coll = new AlertLevelEnumCollection();
     var qry = new Query(AlertLevelEnum.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #2
0
 public AlertLevelEnumCollection FetchByQuery(Query qry)
 {
     var coll = new AlertLevelEnumCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #3
0
 public AlertLevelEnumCollection FetchByID(object EnumX)
 {
     AlertLevelEnumCollection coll = new AlertLevelEnumCollection().Where("Enum", EnumX).Load();
     return coll;
 }