public DatabaseLogCollection FetchByQuery(Query qry) { DatabaseLogCollection coll = new DatabaseLogCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DatabaseLogCollection FetchAll() { DatabaseLogCollection coll = new DatabaseLogCollection(); Query qry = new Query(DatabaseLog.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DatabaseLogCollection FetchByID(object DatabaseLogID) { DatabaseLogCollection coll = new DatabaseLogCollection().Where("DatabaseLogID", DatabaseLogID).Load(); return(coll); }