예제 #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;
 }