fixed create method to return the created entity!
make sure to throw an exception if $key is not set in find.
not to use lastId in Query, but assume auto-increment key in Dao class.
not to use lastId in Query, but assume auto-increment key in Dao class.(now it is).
create returns EntityObject or ActiveRecord.
provide a method to retrieve all raw data as an array.
add bootstrap3 version of pagination html, which should be in different class... also get uri more appropriately.
moved Paginate class to Paginate/Pager class.
extracted html related code from Pager to ToHtml class.
missing & makes session not updated...
add _ prefix to the protected properties.
keep _keyName as part of protected property.
wrap $_dao with _dao method. not to use the property directly.
throw an exception if dao is not set properly.
set up hooks in a method (easier to over write it).
set up hooks in the setUpHooks method.
test on sub query; pass dbType from a main query to the sub-queries.
test sub query in IN clause.
add replace method in Dao.
deletes data, not update, when deleting from active record.