예제 #1
0
        public DatabaseLogCollection FetchByQuery(Query qry)
        {
            DatabaseLogCollection coll = new DatabaseLogCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public DatabaseLogCollection FetchAll()
        {
            DatabaseLogCollection coll = new DatabaseLogCollection();
            Query qry = new Query(DatabaseLog.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public DatabaseLogCollection FetchByID(object DatabaseLogID)
        {
            DatabaseLogCollection coll = new DatabaseLogCollection().Where("DatabaseLogID", DatabaseLogID).Load();

            return(coll);
        }