public UserAlertMessageCollection FetchByQuery(Query qry) { UserAlertMessageCollection coll = new UserAlertMessageCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public UserAlertMessageCollection FetchAll() { UserAlertMessageCollection coll = new UserAlertMessageCollection(); Query qry = new Query(UserAlertMessage.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public UserAlertMessageCollection FetchByID(object UserAlertID) { UserAlertMessageCollection coll = new UserAlertMessageCollection().Where("userAlertID", UserAlertID).Load(); return(coll); }