public ExternallinkCollection FetchByQuery(Query qry) { ExternallinkCollection coll = new ExternallinkCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ExternallinkCollection FetchAll() { ExternallinkCollection coll = new ExternallinkCollection(); Query qry = new Query(Externallink.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ExternallinkCollection FetchAllNotDeleted() { ExternallinkCollection coll = new ExternallinkCollection(); Query qry = new Query(Externallink.Schema).WHERE(Externallink.Columns.Deleted, false); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }