I want to use class collection in my project. All database transaction like insert,update,delete and select done with this collection.