public NotificationCollection FetchByQuery(Query qry) { NotificationCollection coll = new NotificationCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public NotificationCollection FetchAll() { NotificationCollection coll = new NotificationCollection(); Query qry = new Query(Notification.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }